cli/command/system: don't use "non-distributable-artifacts" fields in tests
Nondistributable artifacts are deprecated, and no longer used; we'll be deprecating these fields, so let's already skip their use. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
66dfe6d428
commit
b51a71148f
@ -70,8 +70,6 @@ var sampleInfoNoSwarm = system.Info{
|
|||||||
Architecture: "x86_64",
|
Architecture: "x86_64",
|
||||||
IndexServerAddress: "https://index.docker.io/v1/",
|
IndexServerAddress: "https://index.docker.io/v1/",
|
||||||
RegistryConfig: ®istrytypes.ServiceConfig{
|
RegistryConfig: ®istrytypes.ServiceConfig{
|
||||||
AllowNondistributableArtifactsCIDRs: nil,
|
|
||||||
AllowNondistributableArtifactsHostnames: nil,
|
|
||||||
InsecureRegistryCIDRs: []*registrytypes.NetIPNet{
|
InsecureRegistryCIDRs: []*registrytypes.NetIPNet{
|
||||||
{
|
{
|
||||||
IP: net.ParseIP("127.0.0.0"),
|
IP: net.ParseIP("127.0.0.0"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user