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)

* fix vdo error #3916

* add changelog fragment
This commit is contained in:
Joseph Torcasso 2022-02-07 14:12:44 -05:00 committed by GitHub
parent a61bdbadd5
commit acd8853242
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): def add_vdooptions(params):
vdocmdoptions = ""
options = [] options = []
if params.get('logicalsize') is not None: if params.get('logicalsize') is not None:
@ -437,7 +436,7 @@ def add_vdooptions(params):
if params.get('physicalthreads') is not None: if params.get('physicalthreads') is not None:
options.append("--vdoPhysicalThreads=" + params['physicalthreads']) options.append("--vdoPhysicalThreads=" + params['physicalthreads'])
return vdocmdoptions return options
def run_module(): def run_module():