mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
Merge pull request #46243 from thaJeztah/remove_datascope_consts
libnetwork/datastore: remove deprecated scope consts
This commit is contained in:
@@ -71,22 +71,6 @@ type ScopeClientCfg struct {
|
||||
Config *store.Config
|
||||
}
|
||||
|
||||
const (
|
||||
// LocalScope indicates to store the KV object in local datastore such as boltdb
|
||||
//
|
||||
// Deprecated: use [scope.Local].
|
||||
LocalScope = scope.Local
|
||||
// GlobalScope indicates to store the KV object in global datastore
|
||||
//
|
||||
// Deprecated: use [scope.Global].
|
||||
GlobalScope = scope.Global
|
||||
// SwarmScope is not indicating a datastore location. It is defined here
|
||||
// along with the other two scopes just for consistency.
|
||||
//
|
||||
// Deprecated: use [scope.Swarm].
|
||||
SwarmScope = scope.Swarm
|
||||
)
|
||||
|
||||
const (
|
||||
// NetworkKeyPrefix is the prefix for network key in the kv store
|
||||
NetworkKeyPrefix = "network"
|
||||
|
||||
Reference in New Issue
Block a user