fix golint fail #415

This commit is contained in:
u5surf
2018-11-15 00:58:13 +09:00
parent f25351c36a
commit 27114701ba
19 changed files with 55 additions and 18 deletions
+1
View File
@@ -125,6 +125,7 @@ func (n *NamespacedName) Decode(value string) error {
return n.DecodeWorker(value, GetOperatorNamespace())
}
// UnmarshalJSON covert to NamespacedName from byte slice
func (n *NamespacedName) UnmarshalJSON(data []byte) error {
result := NamespacedName{}
var tmp string