summaryrefslogtreecommitdiff
path: root/pkg/hooks/1.0.0
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-07-03 14:35:11 -0500
committerbaude <bbaude@redhat.com>2019-07-03 15:41:33 -0500
commitfec1de6ef4b3f769ba0906cda948a3215709cd37 (patch)
tree416a56f712f80f538d4b6ed5bc12ae43aaa07c4f /pkg/hooks/1.0.0
parentf5593d305f68409cf093ea6b66a9d1f121ec0fd6 (diff)
downloadpodman-fec1de6ef4b3f769ba0906cda948a3215709cd37.tar.gz
podman-fec1de6ef4b3f769ba0906cda948a3215709cd37.tar.bz2
podman-fec1de6ef4b3f769ba0906cda948a3215709cd37.zip
trivial cleanups from golang
the results of a code cleanup performed by the goland IDE. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/hooks/1.0.0')
-rw-r--r--pkg/hooks/1.0.0/when_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/hooks/1.0.0/when_test.go b/pkg/hooks/1.0.0/when_test.go
index 7187b297b..a749063ff 100644
--- a/pkg/hooks/1.0.0/when_test.go
+++ b/pkg/hooks/1.0.0/when_test.go
@@ -30,7 +30,7 @@ func TestAlways(t *testing.T) {
for _, always := range []bool{true, false} {
for _, or := range []bool{true, false} {
for _, process := range []*rspec.Process{processStruct, nil} {
- t.Run(fmt.Sprintf("always %t, or %t, has process %t", always, or, (process != nil)), func(t *testing.T) {
+ t.Run(fmt.Sprintf("always %t, or %t, has process %t", always, or, process != nil), func(t *testing.T) {
config.Process = process
when := When{Always: &always, Or: or}
match, err := when.Match(config, map[string]string{}, false)