Skip to content
Snippets Groups Projects

Resolve "Requesting information from the Controller via NBI takes very long"

All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -55,9 +55,9 @@ type LoadedDevice struct {
convertFunc func(LoadedDevice) (Device, error)
}
// SetConverFunction allows to set the LoadedDevice's convert function. This
// SetConvertFunction allows to set the LoadedDevice's convert function. This
// function should take a LoadedDevice and returns a Device.
func (ld LoadedDevice) SetConvertFunction(cf func(LoadedDevice) (Device, error)) {
func (ld *LoadedDevice) SetConvertFunction(cf func(LoadedDevice) (Device, error)) {
ld.convertFunc = cf
}
Loading