Skip to content

Commit

Permalink
rptest: fix formatting in redpanda.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ballard26 committed Oct 19, 2023
1 parent ed2b3ec commit ef9131f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/rptest/services/redpanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ def __init__(self):
# sasl is required
def sasl_enabled(self):
return (self.kafka_enable_authorization is None and self.enable_sasl
and self.endpoint_authn_method
is None) or self.endpoint_authn_method == "sasl"
and self.endpoint_authn_method is None
) or self.endpoint_authn_method == "sasl"

# principal is extracted from mtls distinguished name
def mtls_identity_enabled(self):
Expand Down Expand Up @@ -2401,10 +2401,8 @@ def set_cluster_config(self,
admin_client = self._admin

patch_result = admin_client.patch_cluster_config(
upsert={
k: v
for k, v in values.items() if v is not None
},
upsert={k: v
for k, v in values.items() if v is not None},
remove=[k for k, v in values.items() if v is None])
new_version = patch_result['config_version']

Expand Down

0 comments on commit ef9131f

Please sign in to comment.