mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
fix: ensure returned resource ids are integers (#651)
##### SUMMARY The documentation states that all our returned resource ids are integers, this change aligns our modules with the docs. The impact of this change should be minimal, as ids are used for identification purposes by directly forwarding the values (no transformation of the data is done). ##### ISSUE TYPE - Bugfix Pull Request ##### COMPONENT NAME All modules
This commit is contained in:
parent
ef6a9389dc
commit
579b34e754
28 changed files with 36 additions and 34 deletions
|
|
@ -99,7 +99,7 @@ class AnsibleHCloudSSHKeyInfo(AnsibleHCloud):
|
|||
|
||||
tmp.append(
|
||||
{
|
||||
"id": str(ssh_key.id),
|
||||
"id": ssh_key.id,
|
||||
"name": ssh_key.name,
|
||||
"fingerprint": ssh_key.fingerprint,
|
||||
"public_key": ssh_key.public_key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue