diff options
| author | Siddharth Bhadri <sbhadri@infoblox.com> | 2020-05-14 02:32:29 +0530 |
|---|---|---|
| committer | Siddharth Bhadri <sbhadri@infoblox.com> | 2020-05-14 02:32:29 +0530 |
| commit | 9027613c3932edcddb1085438b2310f6b77d5d71 (patch) | |
| tree | d015a460d1089d1da7f6929926502361c5236e7e /staging | |
| parent | Merge pull request #1656 from XJangel/configdocs (diff) | |
| download | kubeedge-9027613c3932edcddb1085438b2310f6b77d5d71.tar.gz | |
Run fmt
Diffstat (limited to 'staging')
8 files changed, 1 insertions, 8 deletions
diff --git a/staging/src/github.com/kubeedge/beehive/pkg/core/context/context_factory.go b/staging/src/github.com/kubeedge/beehive/pkg/core/context/context_factory.go index d85f65e9d..f13d07cd7 100644 --- a/staging/src/github.com/kubeedge/beehive/pkg/core/context/context_factory.go +++ b/staging/src/github.com/kubeedge/beehive/pkg/core/context/context_factory.go @@ -40,7 +40,7 @@ func InitContext(contextType string) { }) } -func GetContext() gocontext.Context{ +func GetContext() gocontext.Context { return context.ctx } func Done() <-chan struct{} { diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/conn/factory_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/conn/factory_test.go index a2791a3f5..9f2937f37 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/conn/factory_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/conn/factory_test.go @@ -58,4 +58,3 @@ func TestNewConnection(t *testing.T) { }) } } - diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/lane/lane_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/lane/lane_test.go index 8e72b8b05..9d6575008 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/lane/lane_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/lane/lane_test.go @@ -59,4 +59,3 @@ func TestNewLane(t *testing.T) { }) } } - diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/lane/quic_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/lane/quic_test.go index e43a12ba9..61dc0cda1 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/lane/quic_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/lane/quic_test.go @@ -181,4 +181,3 @@ func TestQuicLaneSetWriteDeadline(t *testing.T) { }) } } - diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/packer/package_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/packer/package_test.go index ec608b8d6..ede0bc13d 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/packer/package_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/packer/package_test.go @@ -227,4 +227,3 @@ func TestGetFlags(t *testing.T) { }) } } - diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/packer/packer_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/packer/packer_test.go index fe78ce9ef..f78b5c69d 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/packer/packer_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/packer/packer_test.go @@ -41,4 +41,3 @@ func TestUnpack(t *testing.T) { }) } } - diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/packer/reader_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/packer/reader_test.go index 6ec8932b3..bf9682059 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/packer/reader_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/packer/reader_test.go @@ -95,4 +95,3 @@ func TestRead(t *testing.T) { }) } } - diff --git a/staging/src/github.com/kubeedge/viaduct/pkg/packer/version_test.go b/staging/src/github.com/kubeedge/viaduct/pkg/packer/version_test.go index 073216b70..0e415ea9b 100644 --- a/staging/src/github.com/kubeedge/viaduct/pkg/packer/version_test.go +++ b/staging/src/github.com/kubeedge/viaduct/pkg/packer/version_test.go @@ -60,4 +60,3 @@ func TestBreadDownVersion(t *testing.T) { }) } } - |
