Commit bff094f4 authored by 智勇's avatar 智勇

add branch_no_time

parent 4b24ca5c
...@@ -231,6 +231,7 @@ function formatInfo(obj) { ...@@ -231,6 +231,7 @@ function formatInfo(obj) {
image: obj.image, image: obj.image,
name: obj.microservice_name || "", name: obj.microservice_name || "",
branch: obj.image.split(":")[1] || "", branch: obj.image.split(":")[1] || "",
branch_no_time: obj.image.split(":")[1].split("-")[0] || "",
host: "", host: "",
host_ip: obj.host_ip || "", host_ip: obj.host_ip || "",
health: "", health: "",
......
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