Skip to content

Commit

Permalink
Refs: #1995 make spelling of StreamVmdk consistent (#2005)
Browse files Browse the repository at this point in the history
vsphere_copy: make spelling of StreamVmdk consistent

SUMMARY

This is a follow up to #1995
I overlooked the capitalization in some of the changes suggested by maintainers, this makes it consistent across all occurrences.

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
vsphere_copy
ADDITIONAL INFORMATION

Reviewed-by: Mario Lenz <[email protected]>
  • Loading branch information
Klaas- authored Feb 21, 2024
1 parent 1ee1822 commit d145030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/vsphere_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
- Optional argument - Set a diskformat for certain uploads like stream optimized VMDKs
- There is no official documentation, but it looks like V(StreamVmdk) needs to be set for stream optimized VMDKs that are uploaded to vSAN storage
- Setting this for non-VMDK files might lead to undefined behavior and is not supported.
choices: ["streamVmdk"]
choices: ["StreamVmdk"]
type: str
notes:
Expand Down Expand Up @@ -149,7 +149,7 @@ def main():
datastore=dict(required=True),
path=dict(required=True, aliases=['dest'], type='str'),
timeout=dict(default=10, type='int'),
diskformat=dict(required=False, type='str', choices=['streamVmdk']))
diskformat=dict(required=False, type='str', choices=['StreamVmdk']))
)

module = AnsibleModule(
Expand Down

0 comments on commit d145030

Please sign in to comment.