Skip to content

Commit

Permalink
Lowercase submodule names
Browse files Browse the repository at this point in the history
  • Loading branch information
croomes committed Sep 12, 2017
1 parent 823afe4 commit dade5ca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions types/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ type CPHealthStatus struct {

func (c *CPHealthStatus) ToNamedSubmodules() []NamedSubModuleStatus {
return []NamedSubModuleStatus{
{Name: "NATS", SubModuleStatus: c.NATS},
{Name: "KV", SubModuleStatus: c.KV},
{Name: "KV_WRITE", SubModuleStatus: c.KVWrite},
{Name: "SCHEDULER", SubModuleStatus: c.Scheduler},
{Name: "nats", SubModuleStatus: c.NATS},
{Name: "kv", SubModuleStatus: c.KV},
{Name: "kv_write", SubModuleStatus: c.KVWrite},
{Name: "scheduler", SubModuleStatus: c.Scheduler},
}
}

Expand Down Expand Up @@ -64,11 +64,11 @@ type DPHealthStatus struct {

func (d *DPHealthStatus) ToNamedSubmodules() []NamedSubModuleStatus {
return []NamedSubModuleStatus{
{Name: "DFS_CLIENT", SubModuleStatus: d.DirectFSClient},
{Name: "DFS_SERVER", SubModuleStatus: d.DirectFSServer},
{Name: "DIRECTOR", SubModuleStatus: d.Director},
{Name: "FS_DRIVER", SubModuleStatus: d.FSDriver},
{Name: "FS", SubModuleStatus: d.FS},
{Name: "dfs_client", SubModuleStatus: d.DirectFSClient},
{Name: "dfs_server", SubModuleStatus: d.DirectFSServer},
{Name: "director", SubModuleStatus: d.Director},
{Name: "fs_driver", SubModuleStatus: d.FSDriver},
{Name: "fs", SubModuleStatus: d.FS},
}
}

Expand Down

0 comments on commit dade5ca

Please sign in to comment.