From 93d4581721aa891ed913f63b4a8d4aa2f323a6a7 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Tue, 16 Feb 2021 17:05:33 -0600 Subject: [PATCH] Workaround a bad module version to fix Dependabot. Signed-off-by: Matt Moyer --- go.mod | 5 +++++ go.sum | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 86efb60b..108a1c35 100644 --- a/go.mod +++ b/go.mod @@ -47,3 +47,8 @@ require ( k8s.io/utils v0.0.0-20201110183641-67b214c5f920 sigs.k8s.io/yaml v1.2.0 ) + +// Workaround a broken module version (see https://github.com/oleiade/reflections/issues/14). +// We need this until none of our deps tries to pull in v1.0.0, otherwise some tools like +// Dependabot will fail on our module. +replace github.com/oleiade/reflections v1.0.0 => github.com/oleiade/reflections v1.0.1 diff --git a/go.sum b/go.sum index 77f9c531..f765c245 100644 --- a/go.sum +++ b/go.sum @@ -770,7 +770,6 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/oleiade/reflections v1.0.0/go.mod h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w= github.com/oleiade/reflections v1.0.1 h1:D1XO3LVEYroYskEsoSiGItp9RUxG6jWnCVvrqH0HHQM= github.com/oleiade/reflections v1.0.1/go.mod h1:rdFxbxq4QXVZWj0F+e9jqjDkc7dbp97vkRixKo2JR60= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=