refactor(StorageInterface): Spacing fix

This commit is contained in:
netbenix 2021-12-23 09:22:13 +01:00
parent cf29dc05d0
commit 8eb12fd51b

View file

@ -12,15 +12,17 @@ func UploadFile(storage Storage, fileName string, backupName string, destination
func CheckStorageType(storageType string) Storage{
if storageType == "azure-fileshare"{
if storageType == "azure-fileshare" {
return GetAzureStorage()
}
return nil
}
func CheckRemoteStorageType(storageType string) SQL.RemoteStorageType {
if storageType == "azure-fileshare"{
if storageType == "azure-fileshare" {
return SQL.REMOTE_AZURE_FILE
}
return 3
return SQL.REMOTE_NONE
}