Unverified Commit cec84135 authored by Alan Rominger's avatar Alan Rominger Committed by GitHub

Merge pull request #512 from john-westcott-iv/SendFix

Fixed bug where deleting an assigned field was failing.
parents 2361c75b 470254f5
......@@ -242,10 +242,10 @@ class Sender(LoggingCommand):
reduced_object['credential_type'] = an_asset['credential_type']
# TowerCLI wants extra_vars to be in a list, not a string
resource.write(pk=object_id, **an_asset)
resource.write(pk=object_id, **reduced_object)
asset_changed = True
self.log_change("Updated asset")
except TowerCLIError as 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