Skip to content

Commit

Permalink
don't use omitempty for enabled field in the global init scripts
Browse files Browse the repository at this point in the history
this fixes #958
  • Loading branch information
alexott committed Dec 14, 2021
1 parent f3d0fad commit ddc5412
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 ddc5412

Please sign in to comment.