Commit 2f4e2e09 authored by Dmitry Volodin's avatar Dmitry Volodin Committed by Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-suggestcli-cred' into 'master'

Add raise_privileges and access_preference params when call login script on suggestcli discovery.

See merge request noc/noc!3291

(cherry picked from commit 5b780e16)

875f7dfa Add raise_privileges and access_preference params when call login script on suggestcli discovery.
parent 62ce1734
......@@ -71,6 +71,8 @@ class SuggestCLICheck(DiscoveryCheck):
"password": password,
"super_password": super_password,
"path": None,
"raise_privileges": self.object.to_raise_privileges,
"access_preference": self.object.get_access_preference(),
},
)
self.logger.info("Result: %s, %s", r, r["message"])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment