Skip to content

Commit

Permalink
Correcting if condition to select proper openstack package for Ubuntu
Browse files Browse the repository at this point in the history
Closes-Bug: 1608301

Change-Id: I4308dd2e2c86c1d5edb53bfd690771a1d6dc5308
  • Loading branch information
npchandran committed Aug 1, 2016
1 parent ffac775 commit fc70743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrail_provisioning/openstack/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, args_str=None):
OpenstackSetup.__init__(self)

self.update_upgrade_data()
if self.pdist not in ['Ubuntu']:
if self.pdist in ['Ubuntu']:
self.openstack_services = ['supervisor-openstack']
else:
self.openstack_services = ['openstack-cinder-api', 'openstack-cinder-scheduler',
Expand Down

0 comments on commit fc70743

Please sign in to comment.