fix returning first element of 1-sized slice instead of the slice
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Adrien Marquès 2020-03-02 22:20:28 +01:00
parent 2d1b1aad6d
commit 8779f9ca3a
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func parseParameter(data interface{}) (interface{}, error) {
}
// already typed
return data, nil
return element.Interface(), nil
}