Skip to content

Commit

Permalink
Merge pull request #116 from sp-yduck/fix/storage
Browse files Browse the repository at this point in the history
fix storage validation
  • Loading branch information
sp-yduck authored Nov 3, 2023
2 parents eb82d23 + 7da451a commit 7911c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/services/compute/instance/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (s *Service) ensureStorageAvailable(ctx context.Context) error {
if err != nil {
return err
}
if supportsImage(storage) {
if !supportsImage(storage) {
return fmt.Errorf("storage %s does not support \"images\" type of content", storageName)
}
}
Expand Down

0 comments on commit 7911c27

Please sign in to comment.