Skip to content

Commit

Permalink
fix(k8s): use k8s app name
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc authored and ibuler committed Aug 26, 2020
1 parent ead0e9d commit dc45c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/k8sproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (p *K8sProxyServer) MapData(s *commonSwitch) map[string]interface{} {
return map[string]interface{}{
"id": s.ID,
"user": fmt.Sprintf("%s (%s)", p.User.Name, p.User.Username),
"asset": p.Cluster.Cluster,
"asset": p.Cluster.Name,
"org_id": p.Cluster.OrgID,
"login_from": p.UserConn.LoginFrom(),
"system_user": fmt.Sprintf("%s (%s)", p.SystemUser.Name, p.SystemUser.Username),
Expand Down

0 comments on commit dc45c30

Please sign in to comment.