remove logs from storage client calls
@@ -49,11 +49,9 @@ func (_ *azureStorageManager) CreateStorage(ctx context.Context, groupName strin
return result, err
}
if dataLakeEnabled == to.BoolPtr(true) && kind != "StorageV2" {
- log.Printf("Cannot create storage account. Datalake enabled storage account must be of kind: StorageV2")
return result, errors.New("unable to create datalake enabled storage account")
}
if *checkNameResult.NameAvailable == false {
- log.Println("storage account not available: " + checkNameResult.Reason)
if checkNameResult.Reason == storage.AccountNameInvalid {
return result, errors.New("AccountNameInvalid")
} else if checkNameResult.Reason == storage.AlreadyExists {
