Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #512 from john-westcott-iv/SendFix
Browse files Browse the repository at this point in the history
Fixed bug where deleting an assigned field was failing.
  • Loading branch information
AlanCoding authored Apr 23, 2018
2 parents 2361c75 + 470254f commit cec8413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tower_cli/cli/transfer/send.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ def send(self, source, prevent, secret_management):
reduced_object['credential_type'] = an_asset['credential_type']

# TowerCLI wants extra_vars to be in a list, not a string
self.touchup_extra_vars(an_asset)
self.touchup_extra_vars(reduced_object)

try:
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:
Expand Down

0 comments on commit cec8413

Please sign in to comment.