@@ -393,24 +393,24 @@ var _ = Describe("Cfg", func() {
393
393
)
394
394
395
395
It ("DecodePluginConfig should fail for no plugin config object" , func () {
396
- var pluginConfig PluginConfig
397
- err := c0 .DecodePluginConfig (key , & pluginConfig )
396
+ var pluginCfg PluginConfig
397
+ err := c0 .DecodePluginConfig (key , & pluginCfg )
398
398
Expect (err ).To (HaveOccurred ())
399
399
Expect (errors .As (err , & config.PluginKeyNotFoundError {})).To (BeTrue ())
400
400
})
401
401
402
402
It ("DecodePluginConfig should fail to retrieve data from a non-existent plugin" , func () {
403
- var pluginConfig PluginConfig
404
- err := c1 .DecodePluginConfig ("plugin-y" , & pluginConfig )
403
+ var pluginCfg PluginConfig
404
+ err := c1 .DecodePluginConfig ("plugin-y" , & pluginCfg )
405
405
Expect (err ).To (HaveOccurred ())
406
406
Expect (errors .As (err , & config.PluginKeyNotFoundError {})).To (BeTrue ())
407
407
})
408
408
409
409
DescribeTable ("DecodePluginConfig should retrieve the plugin data correctly" ,
410
410
func (inputConfig Cfg , expectedPluginConfig PluginConfig ) {
411
- var pluginConfig PluginConfig
412
- Expect (inputConfig .DecodePluginConfig (key , & pluginConfig )).To (Succeed ())
413
- Expect (pluginConfig ).To (Equal (expectedPluginConfig ))
411
+ var pluginCfg PluginConfig
412
+ Expect (inputConfig .DecodePluginConfig (key , & pluginCfg )).To (Succeed ())
413
+ Expect (pluginCfg ).To (Equal (expectedPluginConfig ))
414
414
},
415
415
Entry ("for an empty plugin config object" , c1 , PluginConfig {}),
416
416
Entry ("for a full plugin config object" , c2 , pluginConfig ),
0 commit comments