diff options
author | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-09-30 17:37:38 -0500 |
---|---|---|
committer | Bluesaxorcist <joshua@operatorfoundation.org> | 2019-09-30 17:37:38 -0500 |
commit | 3d244fa6d82cba8be63f6a4c84539c842b1a7f8e (patch) | |
tree | bf8b15fc17d4b94cb99feb6b7e949cb06d423681 | |
parent | 06d64ab303ae937d155190b529f55264783efd55 (diff) |
Renamed Optimizer client
-rw-r--r-- | transports/transports.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transports/transports.go b/transports/transports.go index 4ca49eb..b351550 100644 --- a/transports/transports.go +++ b/transports/transports.go @@ -293,7 +293,7 @@ func ParseArgsMeeklite(args map[string]interface{}, target string) (*meeklite.Tr return &transport, nil } -func ParseArgsOptimizer(args map[string]interface{}) (*Optimizer.OptimizerTransport, error) { +func ParseArgsOptimizer(args map[string]interface{}) (*Optimizer.Client, error) { var transports []Optimizer.Transport var strategy Optimizer.Strategy @@ -335,7 +335,7 @@ func ParseArgsOptimizer(args map[string]interface{}) (*Optimizer.OptimizerTransp return nil, errors.New("unsupported type for optimizer strategy option") } - transport := Optimizer.OptimizerTransport{ + transport := Optimizer.Client{ Transports: transports, Strategy: strategy, } |