From b51a71148fa0b6120a46784b4b850468db01222c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 7 Dec 2024 12:24:59 +0100 Subject: [PATCH] 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 --- cli/command/system/info_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/command/system/info_test.go b/cli/command/system/info_test.go index e89c385d533b..42591a3c1330 100644 --- a/cli/command/system/info_test.go +++ b/cli/command/system/info_test.go @@ -70,8 +70,6 @@ var sampleInfoNoSwarm = system.Info{ Architecture: "x86_64", IndexServerAddress: "https://index.docker.io/v1/", RegistryConfig: ®istrytypes.ServiceConfig{ - AllowNondistributableArtifactsCIDRs: nil, - AllowNondistributableArtifactsHostnames: nil, InsecureRegistryCIDRs: []*registrytypes.NetIPNet{ { IP: net.ParseIP("127.0.0.0"),