Commit 9f0228cf authored by 智勇's avatar 智勇

fix labelSelector

parent f6c5b4dd
......@@ -201,7 +201,7 @@ const getServicesFormat = async (namespace) => {
const getServiceDetail = async (namespace, name) => {
const res = await Promise.all([
client.api.v1.namespaces(namespace).pods.get(),
client.api.v1.namespaces(namespace).pods.get({ qs: { labelSelector: `qcloud-app=${name}` } }),
client.api.v1.namespaces(namespace).services(name).get(),
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment