From 69cdab0d84039aa37da0fdfd2a9b55ad0601fee8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 2 Oct 2018 12:48:46 -0700 Subject: [PATCH] command/services: just add additional output feedback on success --- command/services/deregister/deregister.go | 2 ++ command/services/register/register.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/command/services/deregister/deregister.go b/command/services/deregister/deregister.go index 85a63ab419..9ea2f20971 100644 --- a/command/services/deregister/deregister.go +++ b/command/services/deregister/deregister.go @@ -83,6 +83,8 @@ func (c *cmd) Run(args []string) int { svc.Name, err)) return 1 } + + c.UI.Output(fmt.Sprintf("Deregistered service: %s", id)) } return 0 diff --git a/command/services/register/register.go b/command/services/register/register.go index ecd453c71f..323bb3db95 100644 --- a/command/services/register/register.go +++ b/command/services/register/register.go @@ -102,6 +102,8 @@ func (c *cmd) Run(args []string) int { svc.Name, err)) return 1 } + + c.UI.Output(fmt.Sprintf("Registered service: %s", svc.Name)) } return 0