Skip to content

Commit 3cb50de

Browse files
authored
CLOUDP-98804: Fix update version manifest static path (#121)
1 parent f6f538a commit 3cb50de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opsmngr/version_manifest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
const (
2626
versionManifestBasePath = "api/public/v1.0/versionManifest"
27-
versionManifestStaticPath = "api/public/v1.0/static/version_manifest/%s"
27+
versionManifestStaticPath = "static/version_manifest/%s"
2828
)
2929

3030
// VersionManifestService is an interface for using the Version Manifest

opsmngr/version_manifest_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestVersionManifest_Get(t *testing.T) {
2727
defer teardown()
2828
const version = "4.4.json"
2929

30-
mux.HandleFunc(fmt.Sprintf("/api/public/v1.0/static/version_manifest/%s", version), func(w http.ResponseWriter, r *http.Request) {
30+
mux.HandleFunc(fmt.Sprintf("/static/version_manifest/%s", version), func(w http.ResponseWriter, r *http.Request) {
3131
testMethod(t, r, http.MethodGet)
3232
_, _ = fmt.Fprint(w, `
3333

0 commit comments

Comments
 (0)