Skip to content

Commit

Permalink
fix(cid_info): fix return to include first element
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos committed Aug 25, 2023
1 parent 23c1177 commit 2ec045c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/cid_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def main():

if query_result["status_code"] == 200:
result.update(
cid=query_result["body"]["resources"],
cid=query_result["body"]["resources"][0],
)

handle_return_errors(module, result, query_result)
Expand Down

0 comments on commit 2ec045c

Please sign in to comment.