Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -17,7 +17,7 @@ func WithDefaultCgroupNamespaceMode(mode string) Option {
|
| 17 | 17 |
} |
| 18 | 18 |
|
| 19 | 19 |
// WithTestLogger causes the daemon to log certain actions to the provided test. |
| 20 |
-func WithTestLogger(t testing.TB) func(*Daemon) {
|
|
| 20 |
+func WithTestLogger(t testing.TB) Option {
|
|
| 21 | 21 |
return func(d *Daemon) {
|
| 22 | 22 |
d.log = t |
| 23 | 23 |
} |