diff --git a/salt/cloud/clouds/digitalocean.py b/salt/cloud/clouds/digitalocean.py index 17f88063d15..4d3e1d0a2dc 100644 --- a/salt/cloud/clouds/digitalocean.py +++ b/salt/cloud/clouds/digitalocean.py @@ -1298,10 +1298,7 @@ def _get_vpc_by_name(name): fetch = "next" in items["links"]["pages"] except KeyError: fetch = False - - ret[name] = None - - return ret + return None def _list_nodes(full=False, for_output=False):