1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

vdo: Remove unused variable (#4163) (#4170)

* fix vdo error #3916

* add changelog fragment

(cherry picked from commit acd8853242)

Co-authored-by: Joseph Torcasso <87090265+jatorcasso@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2022-02-07 20:49:16 +01:00 committed by GitHub
parent a678029bd2
commit 815638f2ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- vdo - fix options error (https://github.com/ansible-collections/community.general/pull/4163).

View file

@ -386,7 +386,6 @@ def deactivate_vdo(module, vdoname, vdocmd):
def add_vdooptions(params):
vdocmdoptions = ""
options = []
if params.get('logicalsize') is not None:
@ -437,7 +436,7 @@ def add_vdooptions(params):
if params.get('physicalthreads') is not None:
options.append("--vdoPhysicalThreads=" + params['physicalthreads'])
return vdocmdoptions
return options
def run_module():