use new cfg.Authentication()
This commit is contained in:
parent
0bc2f28575
commit
b85a22cc71
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ func unarchiveRun(opts *UnarchiveOptions) error {
|
|||
return err
|
||||
}
|
||||
|
||||
hostname, _ := cfg.DefaultHost()
|
||||
hostname, _ := cfg.Authentication().DefaultHost()
|
||||
|
||||
currentUser, err := api.CurrentLoginName(apiClient, hostname)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue