Fix golint failures

* Fix golint fails based on the original work from  the user u5surf

* Skip installing Docker as CDP now have one pre-installed (repairs builds on CDP)
This commit is contained in:
zerg-junior
2019-01-08 13:04:48 +01:00
committed by GitHub
parent f7058c754d
commit 4b5d3cd121
18 changed files with 61 additions and 23 deletions
+1
View File
@@ -126,6 +126,7 @@ func (n *NamespacedName) Decode(value string) error {
return n.DecodeWorker(value, GetOperatorNamespace())
}
// UnmarshalJSON converts a byte slice to NamespacedName
func (n *NamespacedName) UnmarshalJSON(data []byte) error {
result := NamespacedName{}
var tmp string