diff options
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 1aa37ea9..a53a0ffa 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -96,6 +96,8 @@ type Metadata struct { // // [Anitya]: https://release-monitoring.org/ ID int `json:"-"` + // Maintainer-facing reason of blocked update. + Blocked string `json:"block,omitempty"` // Whether to exclude from exported functions. Exclude bool `json:"exclude,omitempty"` @@ -944,6 +946,7 @@ func (ctx *evalContext) pf( k("version"): &meta.Version, k("exclude"): &meta.Exclude, k("anitya"): &anitya, + k("block"): &meta.Blocked, k("latest"): &meta.latest, k("writable"): &attr.Writable, |
