fix minor things

This commit is contained in:
Sergey Dudoladov
2019-01-02 17:45:50 +01:00
parent cba48ea9dd
commit 7b4128d4bc
10 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func (n *NamespacedName) Decode(value string) error {
return n.DecodeWorker(value, GetOperatorNamespace())
}
// UnmarshalJSON covert to NamespacedName from byte slice
// UnmarshalJSON converts a byte slice to NamespacedName
func (n *NamespacedName) UnmarshalJSON(data []byte) error {
result := NamespacedName{}
var tmp string