17503: the deduplication report tool should not require the Arvados
[arvados.git] / lib / deduplicationreport / command.go
index 1199bc0ae250b65fdabe9df4e5380db5bdfa24eb..2fdf221b0b671957283ca3401e024be556dbc288 100644 (file)
@@ -7,7 +7,6 @@ package deduplicationreport
 import (
        "io"
 
-       "git.arvados.org/arvados.git/lib/config"
        "git.arvados.org/arvados.git/sdk/go/ctxlog"
        "github.com/sirupsen/logrus"
 )
@@ -34,10 +33,7 @@ func (command) RunCommand(prog string, args []string, stdin io.Reader, stdout, s
 
        logger.SetFormatter(new(NoPrefixFormatter))
 
-       loader := config.NewLoader(stdin, logger)
-       loader.SkipLegacy = true
-
-       exitcode := report(prog, args, loader, logger, stdout, stderr)
+       exitcode := report(prog, args, logger, stdout, stderr)
 
        return exitcode
 }