X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/41e0df276eaaa548e692e44cd8f3c27c4692375e..5b554bbe0b9104e8a34b87d5570cbf87f0308bce:/lib/costanalyzer/cmd.go diff --git a/lib/costanalyzer/cmd.go b/lib/costanalyzer/cmd.go index c44f328620..525ec619b5 100644 --- a/lib/costanalyzer/cmd.go +++ b/lib/costanalyzer/cmd.go @@ -12,7 +12,7 @@ import ( "github.com/sirupsen/logrus" ) -var Command = &command{} +var Command = command{} type command struct { uuids arrayFlags @@ -29,7 +29,7 @@ func (f *NoPrefixFormatter) Format(entry *logrus.Entry) ([]byte, error) { } // RunCommand implements the subcommand "costanalyzer ..." -func (c *command) RunCommand(prog string, args []string, stdin io.Reader, stdout, stderr io.Writer) int { +func (c command) RunCommand(prog string, args []string, stdin io.Reader, stdout, stderr io.Writer) int { var err error logger := ctxlog.New(stderr, "text", "info") defer func() {