diff options
author | baude <bbaude@redhat.com> | 2019-02-12 15:38:30 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-12 15:53:19 -0600 |
commit | 2ea8cd1b4fc5778e0e0b9a83d86fca1f41e76235 (patch) | |
tree | 34736460266576df75be40ec5fcb35739efc4ada /cmd/podman/varlink_dummy.go | |
parent | ee27c39f85507993c0a3dfe3c4dfab4c7b7e5e00 (diff) | |
download | podman-2ea8cd1b4fc5778e0e0b9a83d86fca1f41e76235.tar.gz podman-2ea8cd1b4fc5778e0e0b9a83d86fca1f41e76235.tar.bz2 podman-2ea8cd1b4fc5778e0e0b9a83d86fca1f41e76235.zip |
Only build varlink when buildtag is available
Correct mistake that broke things like dlv where we should only
try to add the varlink command to podman when the 'varlink' build
tag is present.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/varlink_dummy.go')
-rw-r--r-- | cmd/podman/varlink_dummy.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cmd/podman/varlink_dummy.go b/cmd/podman/varlink_dummy.go index 8d7a7e8ca..430511d72 100644 --- a/cmd/podman/varlink_dummy.go +++ b/cmd/podman/varlink_dummy.go @@ -2,8 +2,10 @@ package main -import ( - "github.com/containers/libpod/cmd/podman/cliconfig" -) +import "github.com/spf13/cobra" -var varlinkCommand *cliconfig.PodmanCommand +var ( + _varlinkCommand = &cobra.Command{ + Use: "", + } +) |