store: skip DockerContext field from being saved

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-12-07 13:10:49 +01:00
parent aa6fd3d888
commit fa58522242
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 7 additions and 5 deletions

View File

@ -12,11 +12,13 @@ import (
)
type NodeGroup struct {
Name string
Driver string
Nodes []Node
Dynamic bool
DockerContext bool
Name string
Driver string
Nodes []Node
Dynamic bool
// skip the following fields from being saved in the store
DockerContext bool `json:"-"`
}
type Node struct {