fix issues
This commit is contained in:
@@ -271,6 +271,7 @@ func updateConfig(objectID string, configStrings string, namespace string) {
|
||||
"$set": bson.M{
|
||||
"cluster_config": configStrings,
|
||||
"namespace": namespace,
|
||||
"EndPoine": "https://" + namespace + ".bugx.ir",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -365,6 +366,7 @@ func ListUserClusters(userID string) (error, []Clusters) {
|
||||
Name: app.Name,
|
||||
Status: string(app.Status.Health.Status),
|
||||
ClusterID: strings.Split(string(app.ObjectMeta.UID), "-")[0],
|
||||
EndPoint: "https://" + app.Spec.Destination.Namespace + ".bugx.ir",
|
||||
}
|
||||
clusters = append(clusters, newCluster)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user