Skip to content

Commit

Permalink
Merge pull request #877 from wlynch/manual-optional
Browse files Browse the repository at this point in the history
Mark update.manual as an optional field.
  • Loading branch information
joshrwolf authored Dec 13, 2023
2 parents 5ca3021 + 2aeed52 commit 8b434b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ type Update struct {
Enabled bool `json:"enabled" yaml:"enabled"`
// Indicates that this package should be manually updated, usually taking
// care over special version numbers
Manual bool `json:"manual" yaml:"manual"`
Manual bool `json:"manual,omitempty" yaml:"manual"`
// Indicate that an update to this package requires an epoch bump of
// downstream dependencies, e.g. golang, java
Shared bool `json:"shared,omitempty" yaml:"shared,omitempty"`
Expand Down
3 changes: 1 addition & 2 deletions pkg/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,7 @@
"additionalProperties": false,
"type": "object",
"required": [
"enabled",
"manual"
"enabled"
],
"description": "Update provides information used to describe how to keep the package up to date"
},
Expand Down

0 comments on commit 8b434b9

Please sign in to comment.