17778: update docs.
[arvados.git] / lib / costanalyzer / cmd.go
index c44f328620bdf3f6c9ba9afbde46cf1e9de35cc1..525ec619b5e4aeeb0b4e271704f13385a41bcefd 100644 (file)
@@ -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 <collection> <collection> ..."
-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() {