Skip to content

Commit

Permalink
add client info to the user-agent of pythonlinstor
Browse files Browse the repository at this point in the history
  • Loading branch information
rp- committed Jun 14, 2021
1 parent ac504e6 commit f34c586
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linstor_client_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def parse_and_execute(self, pargs, is_interactive=False):
self._linstorapi = linstor.Linstor(
contrl,
timeout=args.timeout,
keep_alive=args.func == self.cmd_interactive
keep_alive=args.func == self.cmd_interactive,
agent_info="Client " + VERSION
)
self._linstorapi.username = username
self._linstorapi.password = password
Expand Down

0 comments on commit f34c586

Please sign in to comment.