Forráskód Böngészése

conflicts resolved, router.go + k8s_handler issues

jusrhee 5 éve
szülő
commit
32edc6bbb6

+ 0 - 0
dashboard/src/main/home/dashboard/expanded-chart/log/LogSection.tsx → dashboard/src/main/home/cluster-dashboard/expanded-chart/log/LogSection.tsx


+ 0 - 0
dashboard/src/main/home/dashboard/expanded-chart/log/Logs.tsx → dashboard/src/main/home/cluster-dashboard/expanded-chart/log/Logs.tsx


+ 1 - 3
server/router/router.go

@@ -245,7 +245,6 @@ func New(
 			),
 		)
 
-<<<<<<< HEAD
 		// /api/projects/{project_id}/k8s routes
 		r.Method(
 			"GET",
@@ -260,12 +259,11 @@ func New(
 				mw.ReadAccess,
 			),
 		)
-=======
+
 		// /api/k8s routes
 		r.Method("GET", "/k8s/namespaces", auth.BasicAuthenticate(requestlog.NewHandler(a.HandleListNamespaces, l)))
 		r.Method("GET", "/k8s/{namespace}/pod/{name}/logs", auth.BasicAuthenticate(requestlog.NewHandler(a.HandleGetPodLogs, l)))
 		r.Method("GET", "/k8s/pods", auth.BasicAuthenticate(requestlog.NewHandler(a.HandleListPods, l)))
->>>>>>> 0519a30f56f18a09bbca1d66a50f04058c40056e
 	})
 
 	fs := http.FileServer(http.Dir(staticFilePath))