Fixed typo in conman plugin

This commit is contained in:
David Allen 2024-10-02 13:29:56 -06:00
parent 99eb87d806
commit 397bfa5b31
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -26,7 +26,7 @@ func (g *Conman) Generate(config *configurator.Config, opts ...util.Option) (gen
var ( var (
params = generator.GetParams(opts...) params = generator.GetParams(opts...)
client = generator.GetClient(params) client = generator.GetClient(params)
targetKey = params["targets"].(string) // required param targetKey = params["target"].(string) // required param
target = config.Targets[targetKey] target = config.Targets[targetKey]
eps []configurator.RedfishEndpoint = nil eps []configurator.RedfishEndpoint = nil
err error = nil err error = nil