summaryrefslogtreecommitdiff
path: root/edgemesh
diff options
context:
space:
mode:
authorKevin Wang <kevinwzf0126@gmail.com>2020-05-01 00:50:01 +0800
committerKevin Wang <kevinwzf0126@gmail.com>2020-05-06 20:00:39 +0800
commit37000974cd7bc7edc633a5fce1e8f229ec4bcffd (patch)
tree7bf31cd0fa794a0206105ef23aa99ccf8f2d76d0 /edgemesh
parentenforce repo-wide gofmt (diff)
downloadkubeedge-37000974cd7bc7edc633a5fce1e8f229ec4bcffd.tar.gz
fix repo-wide gofmt issue
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
Diffstat (limited to 'edgemesh')
-rw-r--r--edgemesh/pkg/plugin/registry/registry.go2
-rw-r--r--edgemesh/pkg/proxy/proxy.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/edgemesh/pkg/plugin/registry/registry.go b/edgemesh/pkg/plugin/registry/registry.go
index e3135da84..77c70bbb6 100644
--- a/edgemesh/pkg/plugin/registry/registry.go
+++ b/edgemesh/pkg/plugin/registry/registry.go
@@ -201,4 +201,4 @@ func (esd *EdgeServiceDiscovery) getPods(name, namespace string) ([]v1.Pod, erro
klog.Infof("[EdgeMesh] get pods %s from metaClient", key)
}
return pods, nil
-} \ No newline at end of file
+}
diff --git a/edgemesh/pkg/proxy/proxy.go b/edgemesh/pkg/proxy/proxy.go
index dabc128cd..05d630fae 100644
--- a/edgemesh/pkg/proxy/proxy.go
+++ b/edgemesh/pkg/proxy/proxy.go
@@ -18,7 +18,7 @@ import (
// iptables rules
type Proxier struct {
- iptables utiliptables.Interface
+ iptables utiliptables.Interface
inboundRule string
outboundRule string
dNatRule string