fix docs; only delete network if fwname is not provided

pull/18777/head
Alan Scherger 9 years ago committed by Matt Clay
parent 1b614172f5
commit 861d260b6c

@ -75,7 +75,7 @@ options:
aliases: []
state:
description:
- desired state of the persistent disk
- desired state of the network or firewall
required: false
default: "present"
choices: ["active", "present", "absent", "deleted"]
@ -264,7 +264,7 @@ def main():
if fw:
gce.ex_destroy_firewall(fw)
changed = True
if name:
elif name:
json_output['name'] = name
network = None
try:

Loading…
Cancel
Save