func (spec *VaultSpec) HasHAStorage() bool {
	storageType := spec.GetStorageType()
	if _, ok := HAStorageTypes[storageType]; ok {
		return spec.HasStorageHAEnabled()
	}
	if len(spec.getHAStorage()) != 0 {
		return true
	}
	return false
}
// HasHAStorage detects if Vault is configured to use a storage backend which supports High Availability or if it has
// ha_storage stanza, then doesn't check for ha_enabled flag
HasHAStorage detects if Vault is configured to use a storage backend which supports High Availability or if it has
ha_storage stanza, then doesn't check for ha_enabled flag
// HasHAStorage detects if Vault is configured to use a storage backend which supports High Availability or if it has // ha_storage stanza then doesn ' t check for ha_enabled flag
func (spec *VaultSpec) HasHAStorage() bool {
	storageType := spec.GetStorageType()
	if _, ok := HAStorageTypes[storageType]; ok {
		return spec.HasStorageHAEnabled()
	}
	if len(spec.getHAStorage()) != 0 {
		return true
	}
	return false
}
func ( spec * VaultSpec ) HasHAStorage ( ) bool { storageType := spec . GetStorageType ( ) if _ , ok := HAStorageTypes [ storageType ] ; ok { return spec . HasStorageHAEnabled ( ) } if len ( spec . getHAStorage ( ) ) != 0 { return true } return false }
HasHAStorage detects if Vault is configured to use a storage backend which supports High Availability or if it has
ha_storage stanza, then doesn't check for ha_enabled flag
HasHAStorage detects if Vault is configured to use a storage backend which supports High Availability or if it has ha_storage stanza then doesn ' t check for ha_enabled flag