Merge pull request #1636 from owncloud/remove_ocis_config_file_option

remove ocis config file option
This commit is contained in:
Jörn Friedrich Dreyer
2021-02-12 15:05:33 +01:00
committed by GitHub
3 changed files with 3 additions and 8 deletions

View File

@@ -0,0 +1,3 @@
Bugfix: Remove unimplemented config file option for oCIS root command
https://github.com/owncloud/ocis/pull/1636

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",