diff options
| author | Rick Harris <rick.harris@rackspace.com> | 2011-01-13 14:01:21 -0600 |
|---|---|---|
| committer | Rick Harris <rick.harris@rackspace.com> | 2011-01-13 14:01:21 -0600 |
| commit | 98cb2518467374ae87d7dbc70890f79bb5084960 (patch) | |
| tree | 8ae550af927ffe2695beb848f1d8c92e94c7571e /nova/compute | |
| parent | e10c6b9046b04af3201d2993f16e50556b052d79 (diff) | |
| download | nova-98cb2518467374ae87d7dbc70890f79bb5084960.tar.gz nova-98cb2518467374ae87d7dbc70890f79bb5084960.tar.xz nova-98cb2518467374ae87d7dbc70890f79bb5084960.zip | |
Marking snapshots as private for now
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 923234e3a..6d9d4fbbb 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -337,10 +337,7 @@ class API(base.Base): instance = self.get(context, instance_id) host = instance['host'] - # TODO(sirp): When Glance supports images tied to servers, this should - # be replaced by something like 'is_public': False, 'server_id': - # instance_id - data = {'name': name, 'is_public': True} + data = {'name': name, 'is_public': False} image_meta = self.image_service.create(context, data) rpc.cast(context, self.db.queue_get_for(context, FLAGS.compute_topic, host), |
