Skip to content

Commit

Permalink
add release to rhp2 settings
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Feb 29, 2024
1 parent 49f4e29 commit cb1df26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rhp/v2/rhp.go
Expand Up @@ -75,6 +75,7 @@ type HostSettings struct {
MaxEphemeralAccountBalance types.Currency `json:"maxephemeralaccountbalance"`
RevisionNumber uint64 `json:"revisionnumber"`
Version string `json:"version"`
Release string `json:"release"`
SiaMuxPort string `json:"siamuxport"`
}

Expand Down Expand Up @@ -104,6 +105,7 @@ func (hs HostSettings) MarshalJSON() ([]byte, error) {
"maxephemeralaccountbalance": hs.MaxEphemeralAccountBalance,
"revisionnumber": hs.RevisionNumber,
"version": hs.Version,
"release": hs.Release,
"siamuxport": hs.SiaMuxPort,
})
}
Expand Down

0 comments on commit cb1df26

Please sign in to comment.