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

store: skip DockerContext field from being saved
pull/1457/head
CrazyMax 2 years ago committed by GitHub
commit d1f79317cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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