refactor(StorageInterface): Spacing fix
This commit is contained in:
parent
cf29dc05d0
commit
8eb12fd51b
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
Reference in a new issue