Skip to content

Commit

Permalink
omm-status to show m-apiserver status
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekpandey14 committed Mar 22, 2017
1 parent 04c645f commit d465d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/server_members.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ func regionLeaders(client *api.Client, mem []*api.AgentMember) (map[string]strin
func (c *ServerMembersCommand) mserverstatus() int {
var runop int = 0

c.Cmd = exec.Command("systemctl", "status", "mayaserver")
c.Cmd = exec.Command("systemctl", "status", "m-apiserver")

if runop := execute(c.Cmd, c.Ui); runop != 0 {
c.Ui.Error("mayaserver not running")
c.Ui.Error("m-apiserver not running")
}

return runop
Expand Down

0 comments on commit d465d4e

Please sign in to comment.