Skip to content

Commit

Permalink
don't use omitempty for enabled field in the global init scripts (dat…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott authored Dec 14, 2021
1 parent 8cd8ce4 commit 27252e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/global_init_scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type GlobalInitScriptInfo struct {
type GlobalInitScriptPayload struct {
Name string `json:"name"`
Position int32 `json:"position"`
Enabled bool `json:"enabled,omitempty"`
Enabled bool `json:"enabled"`
ContentBase64 string `json:"script"`
}

Expand Down

0 comments on commit 27252e3

Please sign in to comment.