Skip to content

Commit 9920b93

Browse files
Update testcontainers/opensearch.py
Co-authored-by: Till Hoffmann <[email protected]>
1 parent 94a5832 commit 9920b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcontainers/opensearch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(
5050

5151
self.with_exposed_ports(self.port_to_expose)
5252
self.with_env("discovery.type", "single-node")
53-
self.with_env("plugins.security.disabled", f"{'false' if security_enabled else 'true'}")
53+
self.with_env("plugins.security.disabled", "false" if security_enabled else "true")
5454
if security_enabled:
5555
self.with_env("plugins.security.allow_default_init_securityindex", "true")
5656

0 commit comments

Comments
 (0)