Skip to content

Commit

Permalink
Removed unecessary comments. The change includes an update to get ser…
Browse files Browse the repository at this point in the history
…vice count using the flag --count
  • Loading branch information
Toms Zacharia authored and Toms Zacharia committed Nov 12, 2024
1 parent 18cea96 commit 5d234a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ opslevel list user --ignore-deactivated
opslevel list user -o json | jq 'map({"key": .Name, "value": .Role}) | from_entries'
`,
Run: func(cmd *cobra.Command, args []string) {
// payloadVars should remain nil if '--ignore-deactivated'
// payloadVars should remain nil if '--ignore-deactivated' not set
var payloadVars *opslevel.PayloadVariables

ignoreDeactivated, err := cmd.Flags().GetBool("ignore-deactivated")
Expand Down

0 comments on commit 5d234a2

Please sign in to comment.