use new cfg.Authentication()

This commit is contained in:
vilmibm 2023-03-01 16:12:32 -08:00
parent 0bc2f28575
commit b85a22cc71

View file

@ -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 {