8460: Merge branch 'master' into 8460-websocket-go
[arvados.git] / services / ws / main.go
index 650a2494c329789350ffa137f60140e5e73a82f7..77ebf9ee4a8aed2e6b85454f0a3a77570df11bab 100644 (file)
@@ -15,7 +15,7 @@ func main() {
 
        configPath := flag.String("config", "/etc/arvados/ws/ws.yml", "`path` to config file")
        dumpConfig := flag.Bool("dump-config", false, "show current configuration and exit")
-       cfg := DefaultConfig()
+       cfg := defaultConfig()
        flag.Parse()
 
        err := config.LoadFile(&cfg, *configPath)
@@ -47,7 +47,7 @@ func main() {
                Handler: &router{
                        Config:         &cfg,
                        eventSource:    eventSource,
-                       newPermChecker: func() permChecker { return NewPermChecker(cfg.Client) },
+                       newPermChecker: func() permChecker { return newPermChecker(cfg.Client) },
                },
        }
        // Bootstrap the eventSource by attaching a dummy subscriber