Skip to content

Commit 8d1f5b8

Browse files
authored
fix: correcting broken merge (#252)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
1 parent f0be048 commit 8d1f5b8

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

cmd/list.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,12 @@ func runList(cmd *cobra.Command, args []string) (err error) {
7575
return
7676
}
7777

78-
<<<<<<< HEAD
79-
write(os.Stdout, listItems(items), config.Output)
80-
=======
8178
if len(items) < 1 {
8279
fmt.Printf("No functions found in %v namespace\n", lister.Namespace)
8380
return
8481
}
8582

86-
write(os.Stdout, listItems(items), config.Format)
87-
>>>>>>> ca24764... fix: print "No functions found in [ns] namespace" for kn func list
83+
write(os.Stdout, listItems(items), config.Output)
8884

8985
return
9086
}

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -1146,8 +1146,6 @@ github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMB
11461146
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
11471147
github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
11481148
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
1149-
github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM=
1150-
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
11511149
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
11521150
github.com/smartystreets/assertions v1.0.0 h1:UVQPSSmc3qtTi+zPPkCXvZX9VvW/xT/NsRvKfwY81a8=
11531151
github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM=

pkged.go

-12
This file was deleted.

0 commit comments

Comments
 (0)