Skip to content

Commit 27e0646

Browse files
author
Ciprian Tibulca
authored
CLOUDP-233923: fix orgs selection when profile is configured (#2673)
1 parent c3aa225 commit 27e0646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/default_setter_opts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func (opts *DefaultSetterOpts) orgs(filter string) (results interface{}, err err
157157
if r.GetTotalCount() > resultsLimit {
158158
return nil, errTooManyResults
159159
}
160-
results = r.Results
160+
results = *r.Results
161161
case *atlas.Organizations:
162162
if r.TotalCount == 0 {
163163
return nil, errNoResults

0 commit comments

Comments
 (0)