Skip to content

Commit

Permalink
rollback to GetParentMrn
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Jul 10, 2024
1 parent 2877515 commit 032eb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cnquery/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func checkStatus() (Status, error) {
// try to load config into credentials struct
credentials := opts.GetServiceCredential()
if credentials != nil && len(credentials.Mrn) > 0 {
s.Client.ParentMrn = credentials.ScopeMrn
s.Client.ParentMrn = credentials.GetParentMrn()
s.Client.Registered = true
s.Client.ServiceAccount = credentials.Mrn
s.Client.Mrn = opts.AgentMrn
Expand Down

0 comments on commit 032eb47

Please sign in to comment.