Skip to content

Commit 5cabe83

Browse files
committed
warn
1 parent 2ccb265 commit 5cabe83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/isolate/server/server.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,11 @@ def main(argv: list[str] | None = None) -> None:
731731
if controller_auth_key := os.getenv("ISOLATE_CONTROLLER_AUTH_KEY"):
732732
# Set an interceptor to only accept requests with the correct auth key
733733
interceptors.append(ControllerAuthInterceptor(controller_auth_key))
734+
else:
735+
print(
736+
"[WARN] ISOLATE_CONTROLLER_AUTH_KEY is not set, all requests will be "
737+
"accepted without authentication."
738+
)
734739

735740
server = grpc.server(
736741
futures.ThreadPoolExecutor(max_workers=options.num_workers),

0 commit comments

Comments
 (0)