mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
server: Remove deadcode/deprecated code. (#2088)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
1ec86dac2c
commit
4cfbdb1bf0
6
main.go
6
main.go
@@ -19,7 +19,6 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
|
||||
"github.com/minio/cli"
|
||||
@@ -141,11 +140,6 @@ func checkMainSyntax(c *cli.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
// mustGetProfilePath must get location that the profile will be written to.
|
||||
func mustGetProfilePath() string {
|
||||
return filepath.Join(mustGetConfigPath(), globalMinioProfilePath)
|
||||
}
|
||||
|
||||
func main() {
|
||||
app := registerApp()
|
||||
app.Before = func(c *cli.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user