| commit | 3b5a917c5a1ac49acad50eeacb5cf275efc3631e | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu May 23 13:33:52 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Thu May 23 12:44:02 2024 +0000 |
| tree | 1da59c672acf3b68aab81fae38c6b6e5929b82a2 | |
| parent | 988403453448d27f6df6eea0a232e97c2a2e739b [diff] [blame] |
treewide: initialize empty structs with var Change-Id: I72d3993eaf5fe57c77b1dda8218e36a8cc11813d Reviewed-on: https://review.monogon.dev/c/monogon/+/3108 Tested-by: Jenkins CI Reviewed-by: Serge Bazanski <serge@monogon.tech>
diff --git a/metropolis/pkg/event/memory/example_test.go b/metropolis/pkg/event/memory/example_test.go index 583650c..1ae12c6 100644 --- a/metropolis/pkg/event/memory/example_test.go +++ b/metropolis/pkg/event/memory/example_test.go
@@ -82,7 +82,7 @@ defer ctxC() // Create a fake NetworkService. - ns := NetworkService{} + var ns NetworkService // Run an /etc/hosts updater. It will watch for updates from the NetworkService // about the current IP address of the node.