Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Take out unnecessary None
Browse files Browse the repository at this point in the history
  • Loading branch information
waTeim committed Oct 26, 2023
1 parent 8f67aaa commit af61a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tycho/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def parse (config, name, principal, system, service_account, env={}, services={}
"security_context": security_context,
"init_security_context": init_security_context
}
if spec.get('proxy_rewrite_rule',None) != None:
if spec.get('proxy_rewrite_rule') != None:
system_specification["proxy_rewrite"]["enabled"] = spec.get('proxy_rewrite_rule')
logger.debug (f"parsed-system: {json.dumps(system_specification, indent=2)}")
system = System(**system_specification)
Expand Down

0 comments on commit af61a3c

Please sign in to comment.