From dbd54abe46ecab8dc765d904e1a53f35b8c1be07 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Mon, 9 Mar 2026 21:41:02 -0600 Subject: [PATCH] Migrate wwclient to use runtime/ route Use the new runtime/ route path instead of provision/ with a stage query parameter, in preparation for removing the legacy provision/ endpoint. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Jonathon Anderson --- internal/app/wwclient/root.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/app/wwclient/root.go b/internal/app/wwclient/root.go index 498fcb85..3c60fa53 100644 --- a/internal/app/wwclient/root.go +++ b/internal/app/wwclient/root.go @@ -316,12 +316,11 @@ func updateSystem(target string, ipaddr string, port int, wwid string, tag strin values := &url.Values{} values.Set("assetkey", tag) values.Set("uuid", localUUID.String()) - values.Set("stage", "runtime") values.Set("compress", "gz") getURL := &url.URL{ Scheme: scheme, Host: fmt.Sprintf("%s:%d", ipaddr, port), - Path: fmt.Sprintf("provision/%s", wwid), + Path: fmt.Sprintf("runtime/%s", wwid), RawQuery: values.Encode(), } wwlog.Debug("making request: %s", getURL)