Revert ClusterStatus -> Status rename

This commit is contained in:
Sergey Dudoladov
2019-01-03 12:02:28 +01:00
parent 7b4128d4bc
commit 7dbb654612
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -849,8 +849,8 @@ func (c *Cluster) GetCurrentProcess() Process {
}
// GetStatus provides status of the cluster
func (c *Cluster) GetStatus() *Status {
return &Status{
func (c *Cluster) GetStatus() *ClusterStatus {
return &ClusterStatus{
Cluster: c.Spec.ClusterName,
Team: c.Spec.TeamID,
Status: c.Status,
+2 -2
View File
@@ -52,8 +52,8 @@ type WorkerStatus struct {
CurrentProcess Process
}
// Status describes status of the cluster
type Status struct {
// ClusterStatus describes status of the cluster
type ClusterStatus struct {
Team string
Cluster string
MasterService *v1.Service