From 4e12c495b35b29715644d3ac83ed5e2b161bbc8a Mon Sep 17 00:00:00 2001 From: Bassam Tabbara Date: Sat, 8 Oct 2016 10:53:20 -0700 Subject: [PATCH] gofmt fixes --- cmd/castled/castled.go | 2 +- pkg/cephmgr/monagent.go | 2 +- pkg/cephmgr/osdagent.go | 2 +- pkg/cephmgr/osdagent_test.go | 2 +- pkg/clusterd/clusterMember_test.go | 2 +- pkg/clusterd/clusterservice.go | 2 +- pkg/clusterd/inventory/disk.go | 2 +- pkg/clusterd/inventory/node.go | 2 +- pkg/clusterd/join.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/castled/castled.go b/cmd/castled/castled.go index 997ce3c1e..ac7070f86 100644 --- a/cmd/castled/castled.go +++ b/cmd/castled/castled.go @@ -17,8 +17,8 @@ import ( "github.com/quantum/castle/pkg/cephmgr" "github.com/quantum/castle/pkg/cephmgr/cephd" "github.com/quantum/castle/pkg/clusterd" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util/flags" + "github.com/quantum/castle/pkg/util/proc" ) var rootCmd = &cobra.Command{ diff --git a/pkg/cephmgr/monagent.go b/pkg/cephmgr/monagent.go index c42aa6db1..ba35e106f 100644 --- a/pkg/cephmgr/monagent.go +++ b/pkg/cephmgr/monagent.go @@ -11,8 +11,8 @@ import ( "github.com/quantum/castle/pkg/cephmgr/client" "github.com/quantum/castle/pkg/clusterd" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" ) const ( diff --git a/pkg/cephmgr/osdagent.go b/pkg/cephmgr/osdagent.go index 4a7299932..dffd7b821 100644 --- a/pkg/cephmgr/osdagent.go +++ b/pkg/cephmgr/osdagent.go @@ -17,8 +17,8 @@ import ( "github.com/quantum/castle/pkg/cephmgr/client" "github.com/quantum/castle/pkg/clusterd" "github.com/quantum/castle/pkg/clusterd/inventory" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" ) const ( diff --git a/pkg/cephmgr/osdagent_test.go b/pkg/cephmgr/osdagent_test.go index f35d92215..e659c9e58 100644 --- a/pkg/cephmgr/osdagent_test.go +++ b/pkg/cephmgr/osdagent_test.go @@ -13,8 +13,8 @@ import ( testceph "github.com/quantum/castle/pkg/cephmgr/client/test" "github.com/quantum/castle/pkg/clusterd" "github.com/quantum/castle/pkg/clusterd/inventory" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" "github.com/stretchr/testify/assert" ) diff --git a/pkg/clusterd/clusterMember_test.go b/pkg/clusterd/clusterMember_test.go index 080a5d053..a86918176 100644 --- a/pkg/clusterd/clusterMember_test.go +++ b/pkg/clusterd/clusterMember_test.go @@ -11,8 +11,8 @@ import ( etcd "github.com/coreos/etcd/client" "github.com/coreos/etcd/store" "github.com/quantum/castle/pkg/clusterd/inventory" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" "github.com/stretchr/testify/assert" ctx "golang.org/x/net/context" ) diff --git a/pkg/clusterd/clusterservice.go b/pkg/clusterd/clusterservice.go index bb2456da7..14dbe48fc 100644 --- a/pkg/clusterd/clusterservice.go +++ b/pkg/clusterd/clusterservice.go @@ -3,8 +3,8 @@ package clusterd import ( etcd "github.com/coreos/etcd/client" "github.com/quantum/castle/pkg/clusterd/inventory" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" ) const ( diff --git a/pkg/clusterd/inventory/disk.go b/pkg/clusterd/inventory/disk.go index 937420aaa..cc8261c15 100644 --- a/pkg/clusterd/inventory/disk.go +++ b/pkg/clusterd/inventory/disk.go @@ -9,8 +9,8 @@ import ( "strings" etcd "github.com/coreos/etcd/client" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" ctx "golang.org/x/net/context" ) diff --git a/pkg/clusterd/inventory/node.go b/pkg/clusterd/inventory/node.go index 03b1174d0..3104afd8b 100644 --- a/pkg/clusterd/inventory/node.go +++ b/pkg/clusterd/inventory/node.go @@ -11,8 +11,8 @@ import ( ctx "golang.org/x/net/context" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" etcd "github.com/coreos/etcd/client" ) diff --git a/pkg/clusterd/join.go b/pkg/clusterd/join.go index 975f6e2a0..8999d3e8b 100644 --- a/pkg/clusterd/join.go +++ b/pkg/clusterd/join.go @@ -6,8 +6,8 @@ import ( "github.com/quantum/castle/pkg/clusterd/inventory" "github.com/quantum/castle/pkg/etcdmgr/manager" - "github.com/quantum/castle/pkg/util/proc" "github.com/quantum/castle/pkg/util" + "github.com/quantum/castle/pkg/util/proc" ) // Initialize the cluster services to enable joining the cluster and listening for orchestration.