From 3f23cdd921aeb45b1f817aa738880fe9218b2ccb Mon Sep 17 00:00:00 2001 From: apendragon Date: Sat, 29 Jan 2022 18:20:38 +0100 Subject: [PATCH] honor --bypass flag for 'mc retention' command (#3945) Fixes #3944 --- cmd/retention-set.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/retention-set.go b/cmd/retention-set.go index 53a9d13c..5332b029 100644 --- a/cmd/retention-set.go +++ b/cmd/retention-set.go @@ -113,6 +113,7 @@ func parseSetRetentionArgs(cliCtx *cli.Context) (target, versionID string, recur timeRef = parseRewindFlag(cliCtx.String("rewind")) withVersions = cliCtx.Bool("versions") recursive = cliCtx.Bool("recursive") + bypass = cliCtx.Bool("bypass") bucketMode = cliCtx.Bool("default") return }