You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/broker/error.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,17 @@ const (
12
12
)
13
13
14
14
funcErrGettingResource(errerror) error {
15
-
returnerrors.New(ErrGettingResourceCode, errors.Alert, []string{"Unable to get requested resource"+err.Error()}, []string{"Unable to get requested resource while doing health check", err.Error()}, []string{}, []string{})
15
+
returnerrors.New(ErrGettingResourceCode, errors.Alert, []string{"Unable to get requested resource"}, []string{"Unable to get requested resource while doing health check", err.Error()}, []string{}, []string{})
16
16
}
17
17
18
18
funcErrGettingEndpoint(errerror) error {
19
-
returnerrors.New(ErrGettingEndpointCode, errors.Alert, []string{"Unable to discovery endpoint"+err.Error()}, []string{}, []string{}, []string{})
19
+
returnerrors.New(ErrGettingEndpointCode, errors.Alert, []string{"Unable to discovery endpoint"}, []string{err.Error()}, []string{}, []string{})
20
20
}
21
21
22
22
funcErrReplicasNotReady(reasonstring) error {
23
-
returnerrors.New(ErrReplicasNotReadyCode, errors.Alert, []string{"Replicas not ready.", reason}, []string{}, []string{}, []string{})
23
+
returnerrors.New(ErrReplicasNotReadyCode, errors.Alert, []string{"Replicas not ready."}, []string{reason}, []string{}, []string{})
0 commit comments