Fix CLI in docker container

Fixes #2824
This commit is contained in:
Ranjan Purbey 2023-07-26 02:31:15 +05:30 committed by GitHub
parent 4d86cd3a62
commit effabe9d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ func (o *ConsoleOptions) Run() error {
return errors.E(op, "cannot validate version, object is nil")
}
apiServer, err := console.NewAPIServer(o.APIHost.Host, o.APIPort, o.EC)
apiServer, err := console.NewAPIServer(o.Address, o.APIPort, o.EC)
if err != nil {
return errors.E(op, err)
}