Skip to content

Commit b51a711

Browse files
committed
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>
1 parent 66dfe6d commit b51a711

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cli/command/system/info_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ var sampleInfoNoSwarm = system.Info{
7070
Architecture: "x86_64",
7171
IndexServerAddress: "https://index.docker.io/v1/",
7272
RegistryConfig: &registrytypes.ServiceConfig{
73-
AllowNondistributableArtifactsCIDRs: nil,
74-
AllowNondistributableArtifactsHostnames: nil,
7573
InsecureRegistryCIDRs: []*registrytypes.NetIPNet{
7674
{
7775
IP: net.ParseIP("127.0.0.0"),

0 commit comments

Comments
 (0)