mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-23 06:39:13 -04:00
nitpicks and typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
1 parent
1cdb81bd3e
commit
6474d46252
2 files changed
+2
-1
No files matched your search
@@ -43,7 +43,7 @@ func InitCommand(cfg *config.Config) *cli.Command {
|
||||
Name: "admin-password",
|
||||
Aliases: []string{"ap"},
|
||||
EnvVars: []string{"ADMIN_PASSWORD", "IDM_ADMIN_PASSWORD"},
|
||||
Usage: "Set admin password instead of using a random gnerated one",
|
||||
Usage: "Set admin password instead of using a random generated one",
|
||||
},
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
|
||||
@@ -142,6 +142,7 @@ func backupOcisConfigFile(configPath string) (string, error) {
|
||||
return targetBackupConfig, nil
|
||||
}
|
||||
|
||||
// CreateConfig creates a config file with random passwords at configPath
|
||||
func CreateConfig(insecure, forceOverwrite bool, configPath, adminPassword string) error {
|
||||
targetBackupConfig := ""
|
||||
|
||||
|
||||
Reference in new issue
Block a user