Fix gofmt

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
Matthew Heon
2018-10-10 15:06:08 -04:00
parent a54709129f
commit 112e1402c9

View File

@ -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
}