add pauseuntil field to pause clients individually

This commit is contained in:
Bel LaPointe
2022-01-11 23:03:50 -05:00
parent 95bb4de13a
commit 9840be93f6
3 changed files with 26 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ func (j Job) FormatMultilineText() string {
)
}
out := ""
clients := config.Get().Clients
clients := config.Clients()
for k := range clients {
log.Printf("job multiline: %+v contains %s then use %v", clients[k].States, j.Pickup.State, k)
if strings.Contains(fmt.Sprint(clients[k].States), j.Pickup.State) {