Several files have hardcoded versions in their URLs, i.e URL := fmt.Sprintf("/gw/api/v2/namespaces"), but we now assign a default version at build or run time via the AppContext.ApiVersion field. Replace the following file's hardcoded URLs with dynamic ones like so URL := fmt.Sprintf("/gwa/api/%s/namespaces", ctx.ApiVersion)
Acceptance Criteria
Several files have hardcoded versions in their URLs, i.e
URL := fmt.Sprintf("/gw/api/v2/namespaces")
, but we now assign a default version at build or run time via theAppContext.ApiVersion
field. Replace the following file's hardcoded URLs with dynamic ones like soURL := fmt.Sprintf("/gwa/api/%s/namespaces", ctx.ApiVersion)
or any other files that may have been missed.