Skip to content

Commit

Permalink
Fix PR 2174 (ansible-collections#2177)
Browse files Browse the repository at this point in the history
SUMMARY
Move the changelog fragment from ansible-collections#2174 to the correct place and fix a C&P error.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
vmware_guest_tools_upgrade
ADDITIONAL INFORMATION
  • Loading branch information
mariolenz authored Sep 19, 2024
1 parent fbae9dd commit fff14c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions changelogs/2174.yml → changelogs/fragments/2174.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
major_changes:
- vmware_vm_shell - Subsitute the deprecated ``guest.toolsStatus`` collection
- vmware_vm_shell - Subsitute the deprecated ``guest.toolsStatus``
(https://github.com/ansible-collections/community.vmware/pull/2174).
- vmware_guest_tools_upgrade - Subsitute the deprecated ``guest.toolsStatus`` collection
- vmware_guest_tools_upgrade - Subsitute the deprecated ``guest.toolsStatus``
(https://github.com/ansible-collections/community.vmware/pull/2174).
2 changes: 1 addition & 1 deletion plugins/modules/vmware_guest_tools_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def upgrade_tools(self, vm):

# If vmware tools is out of date, check major OS family
# Upgrade tools on Linux and Windows guests
elif vm.guest.guestToolsTooOld == "guestToolsTooOld":
elif vm.guest.toolsVersionStatus2 == "guestToolsTooOld":
try:
force = self.module.params.get('force_upgrade')
installer_options = self.module.params.get('installer_options')
Expand Down

0 comments on commit fff14c7

Please sign in to comment.