copr-builders: ibm-cloud-vm: detect IP name only for create
This commit is contained in:
parent
a8a3d86620
commit
274d80ade8
1 changed files with 1 additions and 2 deletions
|
@ -237,9 +237,8 @@ def _main():
|
|||
|
||||
opts.instance = "production" if "-prod-" in name else "devel"
|
||||
|
||||
detect_floating_ip_name(opts)
|
||||
|
||||
if opts.subparser == "create":
|
||||
detect_floating_ip_name(opts)
|
||||
create_instance(service, name, opts, log)
|
||||
elif opts.subparser == "delete":
|
||||
delete_instance(service, opts.name, log)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue