mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-22 23:10:36 -04:00
cli: support http proxy
This commit is contained in:
parent
a5a7cec11b
commit
d6567ec52d
5 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,6 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"net"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
|
@ -78,7 +77,7 @@ func runRecover(cmd *cobra.Command, _ []string) error {
|
|||
}
|
||||
fileHandler := file.NewHandler(afero.NewOsFs())
|
||||
newDialer := func(validator atls.Validator) *dialer.Dialer {
|
||||
return dialer.New(nil, validator, &net.Dialer{})
|
||||
return dialer.New(nil, validator, nil)
|
||||
}
|
||||
r := &recoverCmd{log: log, configFetcher: attestationconfigapi.NewFetcher()}
|
||||
if err := r.flags.parse(cmd.Flags()); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue