mirror of
https://github.com/rancher/norman.git
synced 2025-09-02 07:44:51 +00:00
Fix golangci-lint issues
As part of updating dapper files, golangci-lint was set to be used. This caused a lot of lint issues to crop up, which this fixes.
This commit is contained in:
@@ -99,7 +99,6 @@ func getValue(obj interface{}, name ...string) reflect.Value {
|
||||
t := v.Type()
|
||||
if t.Kind() == reflect.Ptr {
|
||||
v = v.Elem()
|
||||
t = v.Type()
|
||||
}
|
||||
|
||||
field := v.FieldByName(name[0])
|
||||
|
Reference in New Issue
Block a user