mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-26 08:09:30 -04:00
add missing commands and unify service / namespace options
This commit is contained in:
66 files changed
+515
-218
No files matched your search
@@ -21,7 +21,7 @@ func PrintVersion(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
reg := registry.GetRegistry()
|
||||
services, err := reg.GetService(cfg.Service.Namespace + "." + cfg.Service.Name)
|
||||
services, err := reg.GetService(cfg.HTTP.Namespace + "." + cfg.Service.Name)
|
||||
if err != nil {
|
||||
fmt.Println(fmt.Errorf("could not get proxy services from the registry: %v", err))
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user