diff --git a/metric_source/remote/request.go b/metric_source/remote/request.go index 6a8dba1ac..2f4df448d 100644 --- a/metric_source/remote/request.go +++ b/metric_source/remote/request.go @@ -135,7 +135,8 @@ func internalErrToPublicErr(err error, target string) error { return ErrRemoteTriggerResponse{ InternalError: err, - Target: target} + Target: target, + } } var remoteUnavailableStatusCodes = map[int]struct{}{