Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Ensure cluster we return matches cluster we're expecting
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Jun 2, 2023
1 parent fa0ca92 commit 3a94eb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewClusters(ec echo.Context) *interfaces.Collection {
baseURL := interfaces.GetSelfLink(ec)

col.Data = make([]interface{}, 1)
col.Data[0] = NewCluster(baseURL, "local")
col.Data[0] = NewCluster(baseURL, "default") // Must match EPINIO_STANDALONE_CLUSTER_NAME from front end

return &col
}
Expand Down

0 comments on commit 3a94eb6

Please sign in to comment.