summaryrefslogtreecommitdiff
path: root/pkg/bindings/play
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-02-11 22:55:56 +0100
committerMatthew Heon <mheon@redhat.com>2021-02-18 11:11:29 -0500
commitfe4333c1e87ab479fda44261b2cb820484422f85 (patch)
tree9eeedae859cc9122b9a2bc9c5777149bc4741a25 /pkg/bindings/play
parent6470f970154c4d21e591fe18d59d1f471b51b5d7 (diff)
downloadpodman-fe4333c1e87ab479fda44261b2cb820484422f85.tar.gz
podman-fe4333c1e87ab479fda44261b2cb820484422f85.tar.bz2
podman-fe4333c1e87ab479fda44261b2cb820484422f85.zip
Enable whitespace linter
Use the whitespace linter and fix the reported problems. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger <paul.holzinger@web.de> <MH: Fixed up cherry-pick conflicts> Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/bindings/play')
-rw-r--r--pkg/bindings/play/types_kube_options.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/bindings/play/types_kube_options.go b/pkg/bindings/play/types_kube_options.go
index ea3872aae..649522908 100644
--- a/pkg/bindings/play/types_kube_options.go
+++ b/pkg/bindings/play/types_kube_options.go
@@ -60,7 +60,6 @@ func (o *KubeOptions) ToParams() (url.Values, error) {
iter := f.MapRange()
for iter.Next() {
lowerCaseKeys[iter.Key().Interface().(string)] = iter.Value().Interface().([]string)
-
}
s, err := json.MarshalToString(lowerCaseKeys)
if err != nil {
@@ -69,7 +68,6 @@ func (o *KubeOptions) ToParams() (url.Values, error) {
params.Set(fieldName, s)
}
-
}
return params, nil
}