Skip to content

Commit

Permalink
Update src/middlewared/middlewared/api/base/server/ws_handler/rpc.py
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb St. John <[email protected]>
  • Loading branch information
themylogin and yocalebo committed Dec 16, 2024
1 parent 5cae533 commit f7e470d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ async def process_message(self, app: RpcWebSocketApp, message: Any):
return
if not app.private_methods and method.private:
# FIXME: Eventually, prohibit this
self.middleware.logger.warning("Private method %r called on a connection without private method call "
self.middleware.logger.warning("Private method %r called on a connection without private_methods "
"enabled", method.name)

asyncio.ensure_future(self.process_method_call(app, id_, method, message.get("params", [])))
Expand Down

0 comments on commit f7e470d

Please sign in to comment.