From 9146ddd74ff17e001800d96942fad44b3812346c Mon Sep 17 00:00:00 2001 From: shengxiang Date: Sun, 6 Sep 2015 22:26:45 +0800 Subject: [PATCH] format same with supervisorctl --- service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.go b/service.go index c449974..ac80ec8 100644 --- a/service.go +++ b/service.go @@ -20,7 +20,7 @@ func (this *PbProgram) Start(ctx context.Context, in *pb.Request) (res *pb.Respo return } program.InputData(EVENT_START) - res.Message = proto.String("program started") + res.Message = proto.String(in.GetName() + ": started") return res, nil } @@ -31,7 +31,7 @@ func (this *PbProgram) Stop(ctx context.Context, in *pb.Request) (res *pb.Respon return } program.InputData(EVENT_STOP) - res.Message = proto.String("program stopped") + res.Message = proto.String(in.GetName() + ": stopped") return res, nil }