We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 628a16a + 300dcab commit bd40896Copy full SHA for bd40896
1 file changed
pkg/cmd/auth/auth.go
@@ -189,13 +189,13 @@ func (o *options) Run(cmd *cobra.Command, args []string) error {
189
}
190
191
o.config.AddAuth(&config.AuthConfig{
192
- Tenant: o.tenant,
+ Tenant: authResource.Tenant,
193
Token: token,
194
User: authResource.User,
195
})
196
197
// set current tenant
198
- o.config.SetCurrentTenant(o.tenant)
+ o.config.SetCurrentTenant(authResource.Tenant)
199
200
// persist contents
201
if _, err := o.config.PersistFile(); err != nil {
0 commit comments