Skip to content

Commit a4dc4cc

Browse files
authored
Merge pull request #25 from containerum/upd-set-image-url
upd set image url
2 parents 6478bf2 + 47c7ff7 commit a4dc4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chlib/httpApi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (h *HttpApiHandler) Login(jsonToSend GenericJson) (result HttpApiResult, er
7575
}
7676

7777
func (h *HttpApiHandler) SetForContainer(jsonToSend GenericJson, containerName, nameSpace string) (result HttpApiResult, err error) {
78-
url := fmt.Sprintf("%s/namespaces/%s/container/%s", h.Config.Server, nameSpace, containerName)
78+
url := fmt.Sprintf("%s/namespaces/%s/container-setimage/%s", h.Config.Server, nameSpace, containerName)
7979
return h.makeRequest(url, http.MethodPatch, jsonToSend)
8080
}
8181

0 commit comments

Comments
 (0)