mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
store: set nodegroup last activity
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user