remove ocis config file option

This commit is contained in:
Willy Kloucek
2021-02-12 12:13:53 +01:00
parent 67f9f1f2db
commit 6c7934ee80
2 changed files with 0 additions and 8 deletions

View File

@@ -61,7 +61,6 @@ type TokenManager struct {
// Config combines all available configuration parts.
type Config struct {
File string
Registry string
Log Log
Debug Debug

View File

@@ -8,13 +8,6 @@ import (
// RootWithConfig applies cfg to the root flagset
func RootWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "config-file",
Value: "",
Usage: "Path to config file",
EnvVars: []string{"OCIS_CONFIG_FILE"},
Destination: &cfg.File,
},
&cli.StringFlag{
Name: "log-level",
Value: "info",