etcdserver/api/snap: rename internal package

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-05-21 01:20:45 -07:00
parent d05f675def
commit 2bd689acea
8 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package raftsnap
package snap
import (
"errors"

View File

@ -12,6 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package raftsnap handles Raft nodes' states with snapshots.
// Package snap handles Raft nodes' states with snapshots.
// The snapshot logic is internal to etcd server and raft package.
package raftsnap
package snap

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package raftsnap
package snap
import (
"io"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package raftsnap
package snap
import "github.com/prometheus/client_golang/prometheus"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package raftsnap
package snap
import (
"errors"
@ -25,11 +25,11 @@ import (
"strings"
"time"
"github.com/coreos/etcd/etcdserver/api/snap/snappb"
pioutil "github.com/coreos/etcd/pkg/ioutil"
"github.com/coreos/etcd/pkg/pbutil"
"github.com/coreos/etcd/raft"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/raftsnap/snappb"
"github.com/coreos/pkg/capnslog"
"go.uber.org/zap"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package raftsnap
package snap
import (
"fmt"