Fix stupid syntax.

This commit is contained in:
Andrew Walsh 2023-11-26 20:57:12 -08:00
parent 6154ec662d
commit 45e4578f79

View file

@ -31,7 +31,7 @@ type AptPackage struct {
type AptPackages []AptPackage
func (ps *AptPackages) serialize() string {
func (ps AptPackages) serialize() string {
tokens := []string{}
for _, p := range ps {
tokens = append(tokens, p.Name+"="+p.Version)