mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix useless comparaison between 2 constants (#45524)
Found with https://lgtm.com
This commit is contained in:
parent
197059b4a2
commit
004621ef8e
1 changed files with 2 additions and 2 deletions
|
@ -12438,9 +12438,9 @@ class VirtualServersParameters(BaseParameters):
|
|||
result = []
|
||||
for item in self._values['profiles']['items']:
|
||||
context = item['context']
|
||||
if 'context' == 'serverside':
|
||||
if context == 'serverside':
|
||||
context = 'server-side'
|
||||
elif 'context' == 'clientside':
|
||||
elif context == 'clientside':
|
||||
context = 'client-side'
|
||||
name = item['name']
|
||||
if context in ['all', 'server-side', 'client-side']:
|
||||
|
|
Loading…
Reference in a new issue