fix a typo in the task service (#1318)

pull/10616/head
Lyon Hill 2018-11-07 13:15:53 -07:00 committed by GitHub
parent 9b529771eb
commit 8bb6185092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ func decodeGetLogsRequest(ctx context.Context, r *http.Request, orgs platform.Or
req.filter.Org = &o.ID
}
if runID := params.ByName("rid"); id != "" {
if runID := params.ByName("rid"); runID != "" {
id, err := platform.IDFromString(runID)
if err != nil {
return nil, err