remote/atlas: remove old force param commented out
It appears this was left in through development, but as force is not a parameter likely doesn't have any relevance anymore.
This commit is contained in:
parent
9756946e3c
commit
d19ec9d57a
|
@ -143,15 +143,6 @@ func (c *AtlasClient) Put(state []byte) error {
|
||||||
hash := md5.Sum(state)
|
hash := md5.Sum(state)
|
||||||
b64 := base64.StdEncoding.EncodeToString(hash[:])
|
b64 := base64.StdEncoding.EncodeToString(hash[:])
|
||||||
|
|
||||||
/*
|
|
||||||
// Set the force query parameter if needed
|
|
||||||
if force {
|
|
||||||
values := base.Query()
|
|
||||||
values.Set("force", "true")
|
|
||||||
base.RawQuery = values.Encode()
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Make the HTTP client and request
|
// Make the HTTP client and request
|
||||||
req, err := http.NewRequest("PUT", base.String(), bytes.NewReader(state))
|
req, err := http.NewRequest("PUT", base.String(), bytes.NewReader(state))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue