summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-10-10 15:06:08 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-10-11 11:24:08 -0400
commit112e1402c9e2ee29a387cd84a973471c1888e4b9 (patch)
treeda05acd8362593a21de9c32f3178e4a6ae3aa6a1 /libpod/options.go
parenta54709129fbaed3d224666b5fbc5c92eaac8e732 (diff)
downloadpodman-112e1402c9e2ee29a387cd84a973471c1888e4b9.tar.gz
podman-112e1402c9e2ee29a387cd84a973471c1888e4b9.tar.bz2
podman-112e1402c9e2ee29a387cd84a973471c1888e4b9.zip
Fix gofmt
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go
index 6a8529b8b..9f966cead 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -835,7 +835,7 @@ func WithNetNS(portMappings []ocicni.PortMapping, postConfigureNetNS bool, netwo
// specified.
func WithStaticIP(ip net.IP) CtrCreateOption {
return func(ctr *Container) error {
- if ctr.valid {
+ if ctr.valid {
return ErrCtrFinalized
}