From 95d5089bd8463cf5f9cd5d4ac6d6dc23ca431cd3 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 85a63ab41..9ea2f2097 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 ecd453c71..323bb3db9 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