Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.
This repository was archived by the owner on May 4, 2021. It is now read-only.

save container attributes  #10

@juanpabloaj

Description

@juanpabloaj

how I can save attributes of one container ?

If I try save the container_envvars, I get

In [177]: container.container_envvars = container.container_envvars + [{u'value': 'datid', u'key': '0
          000'}]

In [178]: container.save()
Traceback (most recent call last):
  File "/Users/pablo/envs/tutum/lib/python2.7/site-packages/tutum/api/base.py", line 235, in save
    json = send_request(action, url, data=payload)
  File "/Users/pablo/envs/tutum/lib/python2.7/site-packages/tutum/api/http.py", line 43, in send_request
    raise TutumApiError("Status %s (%s %s). Response: %s" % (str(status_code), method, url, response.text))
TutumApiError: Status 405 (PATCH https://dashboard.tutum.co/api/v1/container/abcd). Response: GET,DELETE
Status 405 (PATCH https://dashboard.tutum.co/api/v1/container/abcd/). Response: GET,DELETE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions