Skip to content

Commit aac8e00

Browse files
kolyshkinLuap99
authored andcommitted
unit: fix Deserialize deprecation notice
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent d4795ce commit aac8e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit/deserialize.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ func DeserializeSections(f io.Reader) ([]*UnitSection, error) {
5454
}
5555

5656
// Deserialize parses a systemd unit file into a list of UnitOptions.
57-
// Note: this function is deprecated in favor of DeserializeOptions
58-
// and will be removed at a future date.
57+
//
58+
// Deprecated: use [DeserializeOptions] instead.
5959
func Deserialize(f io.Reader) (opts []*UnitOption, err error) {
6060
return DeserializeOptions(f)
6161
}

0 commit comments

Comments
 (0)