store: skip DockerContext field from being saved

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1455/head
CrazyMax 2 years ago
parent aa6fd3d888
commit fa58522242
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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 {

Loading…
Cancel
Save