summaryrefslogtreecommitdiff
path: root/pkg/adapter/containers_remote.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-10-29 12:18:01 -0500
committerbaude <bbaude@redhat.com>2019-10-29 12:18:50 -0500
commit91baaee9a805e710fde8e4605434d79a20c67f7e (patch)
tree601a8342be605031d44aabe522adc3cc14bc7091 /pkg/adapter/containers_remote.go
parent59582c55b798f0a2d086981ca9a8ddd8314fd0c2 (diff)
downloadpodman-91baaee9a805e710fde8e4605434d79a20c67f7e.tar.gz
podman-91baaee9a805e710fde8e4605434d79a20c67f7e.tar.bz2
podman-91baaee9a805e710fde8e4605434d79a20c67f7e.zip
goland autocorrections
just ran the autocorrect code corrections from goland and it found a few nits. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/adapter/containers_remote.go')
-rw-r--r--pkg/adapter/containers_remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go
index f4e83a975..20471d895 100644
--- a/pkg/adapter/containers_remote.go
+++ b/pkg/adapter/containers_remote.go
@@ -1021,7 +1021,7 @@ func (r *LocalRuntime) Commit(ctx context.Context, c *cliconfig.CommitValues, co
func (r *LocalRuntime) ExecContainer(ctx context.Context, cli *cliconfig.ExecValues) (int, error) {
var (
oldTermState *term.State
- ec int = define.ExecErrorCodeGeneric
+ ec = define.ExecErrorCodeGeneric
)
// default invalid command exit code
// Validate given environment variables