storj/cmd/minio/main.go
JT Olio f2407727d4 minio/netstate/piecestore: integrate with pkg/process for telemetry reporting (#65)
* pkg/piecestore: fix

* minio/netstate/piecestore: integrate with pkg/process for telemetry reporting
2018-06-01 10:07:58 -04:00

23 lines
403 B
Go

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
package main
import (
"context"
"flag"
"os"
"github.com/minio/minio/cmd"
_ "storj.io/storj/pkg/miniogw"
"storj.io/storj/pkg/process"
)
func main() { process.Must(process.Main(process.ServiceFunc(run))) }
func run(ctx context.Context) error {
cmd.Main(append([]string{os.Args[0]}, flag.Args()...))
return nil
}