fix returning first element of 1-sized slice instead of the slice
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2d1b1aad6d
commit
8779f9ca3a
|
@ -82,7 +82,7 @@ func parseParameter(data interface{}) (interface{}, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// already typed
|
// already typed
|
||||||
return data, nil
|
return element.Interface(), nil
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue