(at time.Time)
| 392 | } |
| 393 | |
| 394 | func withLastSeenAt(at time.Time) func(*database.ProvisionerDaemon) { |
| 395 | return func(pd *database.ProvisionerDaemon) { |
| 396 | pd.LastSeenAt.Valid = true |
| 397 | pd.LastSeenAt.Time = at |
| 398 | } |
| 399 | } |
| 400 | |
| 401 | func withVersion(v string) func(*database.ProvisionerDaemon) { |
| 402 | return func(pd *database.ProvisionerDaemon) { |
no outgoing calls
no test coverage detected