Delete bay rather then container when requested

The bay delete code was deleting a container when it should be deleting
a bay.

Change-Id: Ia49e72096254ba274ddadda71f0fc7fa6091ac6b
This commit is contained in:
Steven Dake 2014-12-01 10:34:18 -07:00
parent 72f009079c
commit 08f5323402

View File

@ -61,7 +61,7 @@ def do_bay_create(cs, args):
help='ID of the bay to delete.')
def do_bay_delete(cs, args):
"""Delete a bay."""
cs.containers.delete(args.id)
cs.bays.delete(args.id)
def do_bay_show(cs, args):