Skip to content

Commit

Permalink
Remove reference to the service instance status command
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbibby authored and cezarsa committed Oct 8, 2018
1 parent 9987ad7 commit c28a1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tsuru/client/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ func (c *ServiceInstanceAdd) Run(ctx *cmd.Context, client *cmd.Client) error {
return err
}
fmt.Fprint(ctx.Stdout, "Service instance successfully added.\n")
fmt.Fprintf(ctx.Stdout, "To check its status use: tsuru service instance status %s %s\n", serviceName, instanceName)
fmt.Fprintf(ctx.Stdout, "For additional information use: tsuru service instance info %s %s\n", serviceName, instanceName)
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions tsuru/client/services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func (s *S) TestServiceInstanceAddInfo(c *check.C) {

func (s *S) TestServiceInstanceAddRun(c *check.C) {
var stdout, stderr bytes.Buffer
result := "Service instance successfully added.\nTo check its status use: tsuru service instance status mysql my_app_db\nFor additional information use: tsuru service instance info mysql my_app_db\n"
result := "Service instance successfully added.\nFor additional information use: tsuru service instance info mysql my_app_db\n"
args := []string{
"mysql",
"my_app_db",
Expand Down Expand Up @@ -426,7 +426,7 @@ func (s *S) TestServiceInstanceAddRun(c *check.C) {

func (s *S) TestServiceInstanceAddRunWithEmptyTag(c *check.C) {
var stdout, stderr bytes.Buffer
result := "Service instance successfully added.\nTo check its status use: tsuru service instance status mysql my_app_db\nFor additional information use: tsuru service instance info mysql my_app_db\n"
result := "Service instance successfully added.\nFor additional information use: tsuru service instance info mysql my_app_db\n"
args := []string{
"mysql",
"my_app_db",
Expand Down

0 comments on commit c28a1e1

Please sign in to comment.