From d5b57fdd300bee7536fc7030c78f1eb4c76e6f7e Mon Sep 17 00:00:00 2001 From: fcd <1352288+femnad@users.noreply.github.com> Date: Mon, 25 Dec 2023 16:11:57 +0300 Subject: [PATCH] change `pkgs` key to `pkg` --- entity/package.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entity/package.go b/entity/package.go index caa507e..43bf853 100644 --- a/entity/package.go +++ b/entity/package.go @@ -10,7 +10,7 @@ type RemotePackage struct { } type RemotePackageGroup struct { - Pkgs []RemotePackage `yaml:"pkgs"` + Pkgs []RemotePackage `yaml:"pkg"` When string `yaml:"when"` } @@ -19,7 +19,7 @@ func (r RemotePackageGroup) RunWhen() string { } type PackageGroup struct { - Pkgs []string `yaml:"pkgs"` + Pkgs []string `yaml:"pkg"` When string `yaml:"when"` }