From d57faab926e1339615bb47441dce45cea7f7f506 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Date: Thu, 6 Aug 2020 14:20:30 +0200 Subject: [PATCH] Fix order of arguments for max and min time. --- pkg/replicate/replicator.go | 2 +- tmp/to-bkt.yaml | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tmp/to-bkt.yaml diff --git a/pkg/replicate/replicator.go b/pkg/replicate/replicator.go index 69f0646ece1..29ce3487f8f 100644 --- a/pkg/replicate/replicator.go +++ b/pkg/replicate/replicator.go @@ -82,7 +82,7 @@ func RunReplicate( fromObjStoreConfig *extflag.PathOrContent, toObjStoreConfig *extflag.PathOrContent, singleRun bool, - maxTime, minTime *thanosmodel.TimeOrDurationValue, + minTime, maxTime *thanosmodel.TimeOrDurationValue, deleteOldBlocks bool, ) error { logger = log.With(logger, "component", "replicate") diff --git a/tmp/to-bkt.yaml b/tmp/to-bkt.yaml new file mode 100644 index 00000000000..e69de29bb2d