Commit 8a2c225
systemddbus: go-systemd/v22/dbus deprecated function
Update systemd-go library
```
got get github.com/coreos/go-systemd/v22/dbus@latest
go mod vendor
go mod tidy
```
And replace sdconn.SubscribeUnitsCustom with
sdconn.SubscribeUnitsCustomContext in kolet.go
This fixes the following error:
SA1019: sdconn.SubscribeUnitsCustom is deprecated:
use SubscribeUnitsCustomContext instead. (staticcheck)1 parent 4334053 commit 8a2c225
12 files changed
Lines changed: 107 additions & 210 deletions
File tree
- mantle/cmd/kolet
- vendor
- github.com/coreos/go-systemd/v22
- dbus
- journal
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments