Skip to content

Commit

Permalink
fix: correcting broken merge (#252)
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
  • Loading branch information
zroubalik authored Dec 14, 2020
1 parent f0be048 commit 8d1f5b8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
6 changes: 1 addition & 5 deletions cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,12 @@ func runList(cmd *cobra.Command, args []string) (err error) {
return
}

<<<<<<< HEAD
write(os.Stdout, listItems(items), config.Output)
=======
if len(items) < 1 {
fmt.Printf("No functions found in %v namespace\n", lister.Namespace)
return
}

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

return
}
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1146,8 +1146,6 @@ github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMB
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM=
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/assertions v1.0.0 h1:UVQPSSmc3qtTi+zPPkCXvZX9VvW/xT/NsRvKfwY81a8=
github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM=
Expand Down
12 changes: 0 additions & 12 deletions pkged.go

This file was deleted.

0 comments on commit 8d1f5b8

Please sign in to comment.