Skip to content

Commit 7911c27

Browse files
authored
Merge pull request #116 from sp-yduck/fix/storage
fix storage validation
2 parents eb82d23 + 7da451a commit 7911c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/services/compute/instance/storage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (s *Service) ensureStorageAvailable(ctx context.Context) error {
2323
if err != nil {
2424
return err
2525
}
26-
if supportsImage(storage) {
26+
if !supportsImage(storage) {
2727
return fmt.Errorf("storage %s does not support \"images\" type of content", storageName)
2828
}
2929
}

0 commit comments

Comments
 (0)