[client] Report client system flags to management server on login (#3187)

This commit is contained in:
Viktor Liu
2025-01-16 13:58:00 +01:00
committed by GitHub
parent c6f7a299a9
commit bc7b2c6ba3
10 changed files with 819 additions and 578 deletions

View File

@@ -162,7 +162,7 @@ func (a *Auth) login(urlOpener URLOpener) error {
// check if we need to generate JWT token
err := a.withBackOff(a.ctx, func() (err error) {
needsLogin, err = internal.IsLoginRequired(a.ctx, a.config.PrivateKey, a.config.ManagementURL, a.config.SSHKey)
needsLogin, err = internal.IsLoginRequired(a.ctx, a.config)
return
})
if err != nil {