Merge pull request #1455 from crazy-max/nodegroup-exclude-field

store: skip DockerContext field from being saved
This commit is contained in:
CrazyMax 2022-12-07 16:07:30 +01:00 committed by GitHub
commit d1f79317cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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