From ba09c7ca6ad11d10da987a15cb5e08a3321cf70f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 10 Apr 2024 08:22:47 -0400 Subject: [PATCH] api: Adapt subscription API to changing method signatures --- internal/api/subscription/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }