Skip to content

Commit

Permalink
*: revert "internal/version" change
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Feb 27, 2018
1 parent 0e65660 commit 0850ccb
Show file tree
Hide file tree
Showing 28 changed files with 27 additions and 28 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"sync"
"time"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"testing"
"time"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/testutil"
"github.com/coreos/etcd/version"
)

type actionAssertingHTTPClient struct {
Expand Down
2 changes: 1 addition & 1 deletion e2e/ctl_v3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"testing"
"time"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/flags"
"github.com/coreos/etcd/pkg/testutil"
"github.com/coreos/etcd/version"
)

func TestCtlV3Version(t *testing.T) { testCtl(t, versionTest) }
Expand Down
2 changes: 1 addition & 1 deletion e2e/etcd_release_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"testing"
"time"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/fileutil"
"github.com/coreos/etcd/pkg/testutil"
"github.com/coreos/etcd/version"
)

// TestReleaseUpgrade ensures that changes to master branch does not affect
Expand Down
2 changes: 1 addition & 1 deletion e2e/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"testing"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"
)

func TestV3MetricsSecure(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv2/ctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"

"github.com/coreos/etcd/etcdctl/ctlv2/command"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"

"github.com/urfave/cli"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/version_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package command
import (
"fmt"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"text/tabwriter"
"text/template"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion etcdmain/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"strings"

"github.com/coreos/etcd/embed"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/flags"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/version"

"github.com/ghodss/yaml"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdmain/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ import (
"github.com/coreos/etcd/embed"
"github.com/coreos/etcd/etcdserver"
"github.com/coreos/etcd/etcdserver/api/etcdhttp"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/cors"
"github.com/coreos/etcd/pkg/fileutil"
pkgioutil "github.com/coreos/etcd/pkg/ioutil"
"github.com/coreos/etcd/pkg/osutil"
"github.com/coreos/etcd/pkg/transport"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/proxy/httpproxy"
"github.com/coreos/etcd/version"

"github.com/coreos/pkg/capnslog"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package api
import (
"sync"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
"github.com/coreos/pkg/capnslog"
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/etcdhttp/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"github.com/coreos/etcd/etcdserver"
"github.com/coreos/etcd/etcdserver/api"
"github.com/coreos/etcd/etcdserver/api/v2http/httptypes"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/logutil"
"github.com/coreos/etcd/version"

"github.com/coreos/pkg/capnslog"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/etcdhttp/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/http/httptest"
"testing"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"
)

func TestServeVersion(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/api/v3rpc/maintenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"github.com/coreos/etcd/internal/auth"
"github.com/coreos/etcd/internal/mvcc"
"github.com/coreos/etcd/internal/mvcc/backend"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/raft"
"github.com/coreos/etcd/version"
)

type KVGetter interface {
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/cluster_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"time"

"github.com/coreos/etcd/etcdserver/membership"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/cluster_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"reflect"
"testing"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/membership/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import (

"github.com/coreos/etcd/internal/mvcc/backend"
"github.com/coreos/etcd/internal/store"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/netutil"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/raft"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package etcdserver
import (
"time"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/runtime"
"github.com/coreos/etcd/version"

"github.com/prometheus/client_golang/prometheus"
)
Expand Down
2 changes: 1 addition & 1 deletion etcdserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
"github.com/coreos/etcd/internal/mvcc/backend"
"github.com/coreos/etcd/internal/raftsnap"
"github.com/coreos/etcd/internal/store"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/fileutil"
"github.com/coreos/etcd/pkg/idutil"
"github.com/coreos/etcd/pkg/pbutil"
Expand All @@ -55,6 +54,7 @@ import (
"github.com/coreos/etcd/raft"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/rafthttp"
"github.com/coreos/etcd/version"
"github.com/coreos/etcd/wal"

"github.com/coreos/go-semver/semver"
Expand Down
3 changes: 1 addition & 2 deletions rafthttp/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ import (
"strings"

"github.com/coreos/etcd/internal/raftsnap"
"github.com/coreos/etcd/internal/version"
pioutil "github.com/coreos/etcd/pkg/ioutil"
"github.com/coreos/etcd/pkg/types"

"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion rafthttp/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
"time"

"github.com/coreos/etcd/internal/raftsnap"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/pbutil"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"
)

func TestServeRaftPrefix(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion rafthttp/pipeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
"time"

"github.com/coreos/etcd/etcdserver/stats"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/testutil"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"
)

// TestPipelineSend tests that pipeline could send data using roundtripper
Expand Down
2 changes: 1 addition & 1 deletion rafthttp/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ import (
"golang.org/x/time/rate"

"github.com/coreos/etcd/etcdserver/stats"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/httputil"
"github.com/coreos/etcd/pkg/transport"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
)
Expand Down
2 changes: 1 addition & 1 deletion rafthttp/stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
"time"

"github.com/coreos/etcd/etcdserver/stats"
"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/testutil"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
"golang.org/x/time/rate"
Expand Down
2 changes: 1 addition & 1 deletion rafthttp/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"strings"
"time"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/pkg/transport"
"github.com/coreos/etcd/pkg/types"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
)
Expand Down
2 changes: 1 addition & 1 deletion rafthttp/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"reflect"
"testing"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/version"

"github.com/coreos/go-semver/semver"
)
Expand Down
2 changes: 1 addition & 1 deletion tools/functional-tester/etcd-runner/command/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"text/tabwriter"
"text/template"

"github.com/coreos/etcd/internal/version"
"github.com/coreos/etcd/version"

"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
File renamed without changes.

0 comments on commit 0850ccb

Please sign in to comment.