mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
Fix string conversation
This commit is contained in:
@@ -171,7 +171,7 @@ func (j *Job) ApplyResponse(resp *proto.JobResponse) error {
|
|||||||
case proto.JobStatus_failed:
|
case proto.JobStatus_failed:
|
||||||
j.Status = JobStatusFailed
|
j.Status = JobStatusFailed
|
||||||
if len(resp.Reason) > 0 {
|
if len(resp.Reason) > 0 {
|
||||||
j.FailedReason = fmt.Sprintf("Client error: '%v'", resp.Reason)
|
j.FailedReason = fmt.Sprintf("Client error: '%s'", resp.Reason)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user