Commit 27ac5b18 by Matt Martz

Don't fail in rax_cbs when the volume is not found

parent 92f16b3d
......@@ -141,6 +141,8 @@ def cloud_block_storage(module, state, name, description, meta, size,
except ValueError:
try:
volume = cbs.find(name=name)
except pyrax.exc.NotFound:
pass
except Exception, e:
module.fail_json(msg='%s' % e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment