mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver/api/snap: rename internal package
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
d05f675def
commit
2bd689acea
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package raftsnap
|
||||
package snap
|
||||
|
||||
import (
|
||||
"errors"
|
@ -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
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package raftsnap
|
||||
package snap
|
||||
|
||||
import (
|
||||
"io"
|
@ -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"
|
||||
|
@ -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"
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package raftsnap
|
||||
package snap
|
||||
|
||||
import (
|
||||
"fmt"
|
Loading…
x
Reference in New Issue
Block a user