diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-05-17 15:52:40 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-05-17 15:54:22 +0300 |
commit | a33e1573d3919a60e646441991b2d6bdffd56ee4 (patch) | |
tree | 5c142fcc30fafa46883fbc862a6738e6b4279fda | |
parent | e66b5c2f3d56234280470d45f769779619553280 (diff) |
go.mod: Update urfave/cli module to v2.25.3
While the Renovate bot has created the update to urfave/cli v2.25.3 for
us already, it was closed due to a slight change in the output it
generates when required flags are missing: instead of printing the
single-letter abbreviation, the module now prints the complete flag
name. This was upstream changed in a7e3459 (fix: missing required flag
error uses flag name and not alias, 2023-03-20).
Update the urfave/cli module to v2.25.3 and fix the now-broken test.
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | go.sum | 4 | ||||
-rw-r--r-- | internal/cli/gitaly/hooks_test.go | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -37,7 +37,7 @@ require ( github.com/sirupsen/logrus v1.9.0 github.com/stretchr/testify v1.8.2 github.com/uber/jaeger-client-go v2.30.0+incompatible - github.com/urfave/cli/v2 v2.25.1 + github.com/urfave/cli/v2 v2.25.3 gitlab.com/gitlab-org/labkit v1.18.0 go.uber.org/goleak v1.2.1 gocloud.dev v0.29.0 @@ -2056,8 +2056,8 @@ github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli/v2 v2.25.1 h1:zw8dSP7ghX0Gmm8vugrs6q9Ku0wzweqPyshy+syu9Gw= -github.com/urfave/cli/v2 v2.25.1/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= +github.com/urfave/cli/v2 v2.25.3 h1:VJkt6wvEBOoSjPFQvOkv6iWIrsJyCrKGtCtxXWwmGeY= +github.com/urfave/cli/v2 v2.25.3/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc= github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= diff --git a/internal/cli/gitaly/hooks_test.go b/internal/cli/gitaly/hooks_test.go index 022a9e3a7..c465d96ae 100644 --- a/internal/cli/gitaly/hooks_test.go +++ b/internal/cli/gitaly/hooks_test.go @@ -74,7 +74,7 @@ func TestSetHooksSubcommand(t *testing.T) { }, repo }, hooks: &bytes.Buffer{}, - expectedErr: "Required flag \"c\" not set\n", + expectedErr: "Required flag \"config\" not set\n", }, { desc: "missing storage flag and config has multiple storages", |