Skip to content

Commit

Permalink
Sync bitbucket and GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
carchi8py committed Nov 16, 2023
1 parent 2f5e214 commit 3711c73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ The following modules do not have REST equivalent APIs. They will stop working o

### Bug Fixes
- na_ontap_vserver_peer - fix issue with peering multiple clusters with same vserver name in REST.
- na_ontap_ems_destination - fix field error with `certificate.name` for ONTAP 9.11.1 or later in REST.

## 22.8.1

Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/DEVOPS-6528.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- na_ontap_ems_destination - fix field error with `certificate.name` for ONTAP 9.11.1 or later in REST.
2 changes: 1 addition & 1 deletion plugins/modules/na_ontap_ems_destination.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def get_ems_destination(self, name):
api = 'support/ems/destinations'
fields = 'name,type,destination,filters.name,certificate.ca'
if self.rest_api.meets_rest_minimum_version(self.use_rest, 9, 11, 1):
fields += 'certificate.name'
fields += ',certificate.name'
query = dict(name=name, fields=fields)
record, error = rest_generic.get_one_record(self.rest_api, api, query)
self.fail_on_error(error, 'fetching EMS destination for %s' % name)
Expand Down

0 comments on commit 3711c73

Please sign in to comment.