Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(sfs): extend udpate error handling
relates to STACKITCLI-394
  • Loading branch information
GokceGK committed May 11, 2026
commit 40eabb932f31216ead0231fce5f16a42f92805b4
2 changes: 1 addition & 1 deletion internal/cmd/beta/sfs/resource-pool/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func parseInput(p *print.Printer, cmd *cobra.Command, inputArgs []string) (*inpu
snapshotsVisible := flags.FlagToBoolPointer(p, cmd, snapshotsVisibleFlag)
snapshotPolicyId := flags.FlagToStringPointer(p, cmd, snapshotPolicyIdFlag)

if performanceClass == nil && size == nil && ipAcls == nil && snapshotsVisible == nil {
if performanceClass == nil && size == nil && ipAcls == nil && snapshotsVisible == nil && snapshotPolicyId == nil {
return nil, &cliErr.EmptyUpdateError{}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func TestParseInput(t *testing.T) {
delete(flagValues, ipAclFlag)
delete(flagValues, performanceClassFlag)
delete(flagValues, snapshotsVisibleFlag)
delete(flagValues, snapshotPolicyIdFlag)
}),
isValid: false,
},
Expand Down
Loading