From 8f2f8d4cadf95dea67d2cfc4a0c96c57234c0728 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 9 Mar 2022 15:24:37 +0100 Subject: use gopkg.in/yaml.v2 instead of v3 Many dependencies already import gopkg.in/yaml.v2, podman is the only user of the v3 version except github.com/stretchr/testify but this is only a testing dependency so it will not end up in the binary. This change reduces the podman binary size from 54740 to 54260 KB on my system. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger --- vendor/modules.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/modules.txt') diff --git a/vendor/modules.txt b/vendor/modules.txt index 319a3592f..792f4c825 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -881,9 +881,9 @@ gopkg.in/square/go-jose.v2/json # gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 gopkg.in/tomb.v1 # gopkg.in/yaml.v2 v2.4.0 +## explicit gopkg.in/yaml.v2 # gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b -## explicit gopkg.in/yaml.v3 # k8s.io/api v0.22.5 ## explicit -- cgit v1.2.3-54-g00ecf