mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-24 22:49:06 -06:00
Merge pull request #1636 from owncloud/remove_ocis_config_file_option
remove ocis config file option
This commit is contained in:
3
changelog/unreleased/ocis_config_file_option.md
Normal file
3
changelog/unreleased/ocis_config_file_option.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Bugfix: Remove unimplemented config file option for oCIS root command
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1636
|
||||
@@ -61,7 +61,6 @@ type TokenManager struct {
|
||||
|
||||
// Config combines all available configuration parts.
|
||||
type Config struct {
|
||||
File string
|
||||
Registry string
|
||||
Log Log
|
||||
Debug Debug
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user