Revision 7b6e977c kamaki/cli/commands/image_cli.py
b/kamaki/cli/commands/image_cli.py | ||
---|---|---|
202 | 202 |
if self['update']: |
203 | 203 |
self.client.reregister(location, name, params, properties) |
204 | 204 |
else: |
205 |
self.client.register(name, location, params, properties) |
|
205 |
r = self.client.register(name, location, params, properties) |
|
206 |
print_dict(r) |
|
206 | 207 |
|
207 | 208 |
def main(self, name, location): |
208 | 209 |
super(self.__class__, self)._run() |
Also available in: Unified diff