Skip to content
Merged
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
linting
  • Loading branch information
Emyrk committed Sep 17, 2024
commit 4e0146f217fd6254bcdf4252dc5fd2c22ee3f454
4 changes: 2 additions & 2 deletions cli/organizationsettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ func (r *RootCmd) printOrganizationSetting(orgContext *OrganizationContext) *ser
return fmt.Errorf("failed to get organization setting %s: %w", inv.Args[0], err)
}

settingJson, err := json.Marshal(setting)
settingJSON, err := json.Marshal(setting)
if err != nil {
return fmt.Errorf("failed to marshal organization setting %s: %w", inv.Args[0], err)
}

var dst bytes.Buffer
err = json.Indent(&dst, settingJson, "", "\t")
err = json.Indent(&dst, settingJSON, "", "\t")
if err != nil {
return fmt.Errorf("failed to indent organization setting as json %s: %w", inv.Args[0], err)
}
Expand Down