-
Notifications
You must be signed in to change notification settings - Fork 30
feat(worker-visibility): extend worker table with 5 fields #772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
bd25ad9
a38c69f
723e453
5483e0f
fdb8cb8
822800a
98691a5
540d7d0
55dba0a
11f5a1e
e1f128c
56f3e25
b9ae9af
49ca50d
e5e7c08
e8eda6a
4d79db4
6073481
b4f39c4
3f60d07
2e22e2f
1d36eb7
99541ac
b2707d9
d3dd14f
a79873a
8640cd0
c648ab8
999a1db
56aea85
60996b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -338,6 +338,11 @@ func UpdateWorker(c *gin.Context) { | |
| w.SetRunningBuildIDs(input.GetRunningBuildIDs()) | ||
| } | ||
|
|
||
| if input.GetLastBuildStartedAt() > 0 { | ||
| // update LastBuildStartedAt if set | ||
| w.SetLastBuildStartedAt(input.GetLastBuildStartedAt()) | ||
| } | ||
|
|
||
| if input.GetLastBuildFinishedAt() > 0 { | ||
|
||
| // update LastBuildFinishedAt if set | ||
| w.SetLastBuildFinishedAt(input.GetLastBuildFinishedAt()) | ||
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
w.SetRunningBuildIDs undefined (type *library.Worker has no field or method SetRunningBuildIDs) (typecheck)