15014: Hide busy/idle nodes panel when crunch1 is not active.
[arvados.git] / lib / controller / router / router.go
index 9c2c1f3a11f6dac93eeabeb6478bea8653b9aedb..5d5602df523b672d6e8f6d84346ed5255a20ae76 100644 (file)
@@ -40,6 +40,13 @@ func (rtr *router) addRoutes() {
                defaultOpts func() interface{}
                exec        routableFunc
        }{
+               {
+                       arvados.EndpointConfigGet,
+                       func() interface{} { return &struct{}{} },
+                       func(ctx context.Context, opts interface{}) (interface{}, error) {
+                               return rtr.fed.ConfigGet(ctx)
+                       },
+               },
                {
                        arvados.EndpointCollectionCreate,
                        func() interface{} { return &arvados.CreateOptions{} },