aboutsummaryrefslogtreecommitdiffstats
path: root/internal/pkg
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2019-06-07 13:33:56 -0700
committerRitu Sood <ritu.sood@intel.com>2019-06-07 13:41:22 -0700
commitf436a990507f6f24e0c6a8e7e8fb3decb9fbbbd0 (patch)
tree960a464b90ddd82ce1e53b4572ec9a0df093df7c /internal/pkg
parentaa14577f6bc672bc8622edada8a487825fdebce1 (diff)
Fix for format issues
No code change made. Only corrected the formatting of some files. Change-Id: I1ccb4a0fddcc65bd7d3f93312c5417e7830fed5a Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Diffstat (limited to 'internal/pkg')
-rw-r--r--internal/pkg/config/config.go2
-rw-r--r--internal/pkg/ovn/pods.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go
index b73dd9d..002ad80 100644
--- a/internal/pkg/config/config.go
+++ b/internal/pkg/config/config.go
@@ -10,7 +10,7 @@ import (
"github.com/urfave/cli"
gcfg "gopkg.in/gcfg.v1"
- "k8s.io/client-go/kubernetes"
+ "k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
)
diff --git a/internal/pkg/ovn/pods.go b/internal/pkg/ovn/pods.go
index fcd258e..6db6b43 100644
--- a/internal/pkg/ovn/pods.go
+++ b/internal/pkg/ovn/pods.go
@@ -113,10 +113,10 @@ func (oc *Controller) addLogicalPortWithSwitch(pod *kapi.Pod, logicalSwitch, ipA
logicalSwitch, portName, "--", "lsp-set-addresses", portName,
fmt.Sprintf("%s %s", macAddress, ipAddress), "--", "--if-exists",
"clear", "logical_switch_port", portName, "dynamic_addresses", "--", "set",
- "logical_switch_port", portName,
- "external-ids:namespace="+pod.Namespace,
- "external-ids:logical_switch="+logicalSwitch,
- "external-ids:pod=true")
+ "logical_switch_port", portName,
+ "external-ids:namespace="+pod.Namespace,
+ "external-ids:logical_switch="+logicalSwitch,
+ "external-ids:pod=true")
if err != nil {
logrus.Errorf("Failed to add logical port to switch "+
"stdout: %q, stderr: %q (%v)",