Skip to content

Commit c8b316a

Browse files
committed
fix: On windows clients the info and install commands will likely fail for having no role key in data
Sadly, I can't test this because the info command breaks earlier: https://northerntech.atlassian.net/browse/ENT-13849 Ticket: none Changelog: title
1 parent f6bf3c3 commit c8b316a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cf_remote/remote.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def get_info(host, *, users=None, connection=None):
225225
data["agent"] = agent
226226
version_cmd = powershell("{} -V".format(agent))
227227
data["agent_version"] = parse_version(ssh_cmd(connection, version_cmd))
228+
data["role"] = "client"
228229
else:
229230
data["os"] = "unix"
230231

0 commit comments

Comments
 (0)