-
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 all commits
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
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -170,12 +170,17 @@ func testSqlite(t *testing.T) *engine { | |
| // Worker type with all fields set to their zero values. | ||
| func testWorker() *library.Worker { | ||
| return &library.Worker{ | ||
| ID: new(int64), | ||
| Hostname: new(string), | ||
| Address: new(string), | ||
| Routes: new([]string), | ||
| Active: new(bool), | ||
| BuildLimit: new(int64), | ||
| LastCheckedIn: new(int64), | ||
| ID: new(int64), | ||
| Hostname: new(string), | ||
| Address: new(string), | ||
| Routes: new([]string), | ||
| Active: new(bool), | ||
| Status: new(string), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [golangci] reported by reviewdog 🐶 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [golangci] reported by reviewdog 🐶 |
||
| LastStatusUpdateAt: new(int64), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [golangci] reported by reviewdog 🐶
KellyMerrick marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| RunningBuildIDs: new([]string), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [golangci] reported by reviewdog 🐶
KellyMerrick marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| LastBuildStartedAt: new(int64), | ||
| LastBuildFinishedAt: new(int64), | ||
KellyMerrick marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| LastCheckedIn: new(int64), | ||
| BuildLimit: new(int64), | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.