Skip to content

Commit 3bfec3b

Browse files
authored
Merge pull request #611 from MUzairS15/support-version
add detailed msgs
2 parents 8442fc9 + 8bada4b commit 3bfec3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

istio/istio.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ func (istio *Istio) ApplyOperation(ctx context.Context, opReq adapter.OperationR
7373
stat, err = hh.installIstio(opReq.IsDeleteOperation, false, version, opReq.Namespace, "default", kubeConfigs)
7474
}
7575
if err != nil { //Make sure that this is a meshkit error
76-
ee.Summary = fmt.Sprintf("Error while %s Istio service mesh", stat)
76+
ee.Summary = fmt.Sprintf("Error while %s Istio service mesh %s", stat, version)
7777
ee.Details = err.Error()
7878
ee.ErrorCode = errors.GetCode(err)
7979
ee.ProbableCause = errors.GetCause(err)
8080
ee.SuggestedRemediation = errors.GetRemedy(err)
8181
hh.StreamErr(ee, err)
8282
return
8383
}
84-
ee.Summary = fmt.Sprintf("Istio service mesh %s successfully", stat)
85-
ee.Details = fmt.Sprintf("The Istio service mesh is now %s.", stat)
84+
ee.Summary = fmt.Sprintf("Istio service mesh %s %s successfully", version, stat)
85+
ee.Details = fmt.Sprintf("The Istio service mesh %s is now %s.", version, stat)
8686
hh.StreamInfo(ee)
8787
}(istio, e)
8888
case common.BookInfoOperation, common.HTTPBinOperation, common.ImageHubOperation, common.EmojiVotoOperation:

0 commit comments

Comments
 (0)