From 746b9a839198ea18690fbccd0e289305bbc2a85a Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Tue, 18 Aug 2015 16:55:29 -0700 Subject: [PATCH] Formatting tweaks --- builder/docker/config.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/builder/docker/config.go b/builder/docker/config.go index 7c3565008..c45f6baf5 100644 --- a/builder/docker/config.go +++ b/builder/docker/config.go @@ -32,8 +32,8 @@ type Config struct { RunCommand []string `mapstructure:"run_command"` Volumes map[string]string - // This is used to login to dockerhub to pull a private base container - // For pushing to dockerhub, see the docker post-processors + // This is used to login to dockerhub to pull a private base container. For + // pushing to dockerhub, see the docker post-processors Login bool LoginEmail string `mapstructure:"login_email"` LoginPassword string `mapstructure:"login_password"` @@ -89,8 +89,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) { errs = packer.MultiErrorAppend(errs, es...) } if c.Image == "" { - errs = packer.MultiErrorAppend(errs, - ErrImageNotSpecified) + errs = packer.MultiErrorAppend(errs, ErrImageNotSpecified) } if (c.ExportPath != "" && c.Commit) || (c.ExportPath != "" && c.Discard) || (c.Commit && c.Discard) {