diff --git a/internal/api/subscription/register.go b/internal/api/subscription/register.go index e51cc7a82..41cdfad3b 100644 --- a/internal/api/subscription/register.go +++ b/internal/api/subscription/register.go @@ -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") }