We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a5832 commit 9920b93Copy full SHA for 9920b93
testcontainers/opensearch.py
@@ -50,7 +50,7 @@ def __init__(
50
51
self.with_exposed_ports(self.port_to_expose)
52
self.with_env("discovery.type", "single-node")
53
- self.with_env("plugins.security.disabled", f"{'false' if security_enabled else 'true'}")
+ self.with_env("plugins.security.disabled", "false" if security_enabled else "true")
54
if security_enabled:
55
self.with_env("plugins.security.allow_default_init_securityindex", "true")
56
0 commit comments