Skip to content

Commit

Permalink
Merge pull request #50 from mbarnes/fix-subscription-build-break
Browse files Browse the repository at this point in the history
api: Adapt subscription API to changing method signatures
  • Loading branch information
bennerv authored Apr 10, 2024
2 parents 9c6acc0 + ba09c7c commit 1c115a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/subscription/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (v version) NewHCPOpenShiftCluster(*api.HCPOpenShiftCluster) api.VersionedH
}

// UnmarshalHCPOpenShiftCluster implements api.Version.
func (v version) UnmarshalHCPOpenShiftCluster([]byte, bool, *api.HCPOpenShiftCluster) error {
func (v version) UnmarshalHCPOpenShiftCluster([]byte, *api.HCPOpenShiftCluster, string, bool) error {
panic("'System Version 2.0' is not supported for HCP Cluster objects")
}

Expand Down

0 comments on commit 1c115a4

Please sign in to comment.