store: set nodegroup last activity

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2022-12-07 11:44:33 +01:00
parent 36b5cd18e8
commit 8c47277141
7 changed files with 67 additions and 4 deletions

View File

@ -2,6 +2,7 @@ package store
import (
"fmt"
"time"
"github.com/containerd/containerd/platforms"
"github.com/docker/buildx/util/confutil"
@ -18,7 +19,8 @@ type NodeGroup struct {
Dynamic bool
// skip the following fields from being saved in the store
DockerContext bool `json:"-"`
DockerContext bool `json:"-"`
LastActivity time.Time `json:"-"`
}
type Node struct {