Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
Signed-off-by: Jilju Joy <[email protected]>
  • Loading branch information
jilju committed Jun 14, 2024
1 parent 5a76882 commit fdf64ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocs_ci/deployment/hosted_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def deploy_dependencies(
# Enable central infrastructure management service for agent
if config.DEPLOYMENT.get("hosted_cluster_platform") == "agent":
provisioning_obj = OCP(**OCP(kind=constants.PROVISIONING).get()[0])
if not provisioning_obj.data["spec"].get("watchAllNamespaces") is "true":
if not provisioning_obj.data["spec"].get("watchAllNamespaces") == "true":
provisioning_obj.patch(
resource_name=provisioning_obj.resource_name,
params='{"spec":{"watchAllNamespaces": true }}',
Expand Down

0 comments on commit fdf64ef

Please sign in to comment.