Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
fcb886af
Commit
fcb886af
authored
Jan 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
fce7640c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
go/internal/task/task.go
go/internal/task/task.go
+3
-3
No files found.
go/internal/task/task.go
View file @
fcb886af
...
...
@@ -24,8 +24,8 @@ import (
"context"
"fmt"
taskctx
"lab.nexedi.com/kirr/neo/go/internal/xcontext/task"
"lab.nexedi.com/kirr/neo/go/internal/log"
taskctx
"lab.nexedi.com/kirr/neo/go/internal/xcontext/task"
)
// Running is syntactic sugar to push new task to operational stack, log it and
...
...
@@ -53,7 +53,7 @@ func running(ctxp *context.Context, name string) func(*error) {
if
e
:=
*
errp
;
e
!=
nil
{
err
=
fmt
.
Sprintf
(
" (%s)"
,
e
)
}
log
.
Depth
(
1
)
.
Info
(
ctx
,
"]"
+
err
)
// XXX log -> trace, don't put ":" before "]"
log
.
Depth
(
1
)
.
Info
(
ctx
,
"]"
+
err
)
// XXX log -> trace, don't put ":" before "]"
// NOTE not *ctxp here - as context pointed by ctxp could be
// changed when this deferred function is run
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment