fix log msg
This commit is contained in:
parent
4a812770d0
commit
b57a61831e
|
@ -343,7 +343,7 @@ func Inspect(authURL, token string) (*Grants, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if "" == grants.Subject {
|
if "" == grants.Subject {
|
||||||
fmt.Fprintf(os.Stderr, "TODO update mgmt server to show Subject: %q", msg)
|
fmt.Fprintf(os.Stderr, "TODO update mgmt server to show Subject: %q\n", msg)
|
||||||
grants.Subject = strings.Split(grants.Domains[0], ".")[0]
|
grants.Subject = strings.Split(grants.Domains[0], ".")[0]
|
||||||
}
|
}
|
||||||
return grants, nil
|
return grants, nil
|
||||||
|
|
Loading…
Reference in New Issue