From cf669f9b8384f9863e2e23166f2766880d0c4376 Mon Sep 17 00:00:00 2001 From: SuchithArodi Date: Tue, 28 Jul 2020 08:58:15 -0700 Subject: [PATCH] return new error message to indicate job is unchanged by proposed update Signed-off-by: Suchith Arodi --- realis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realis.go b/realis.go index 86cc8de..c4e323a 100644 --- a/realis.go +++ b/realis.go @@ -688,7 +688,7 @@ func (r *realisClient) CreateService( return resp, resp.GetResult_().GetStartJobUpdateResult_(), nil } - return nil, nil, errors.New("results object is nil") + return nil, nil, errors.New("job is unchanged by proposed update") } func (r *realisClient) ScheduleCronJob(auroraJob Job) (*aurora.Response, error) {