Skip to content

Commit

Permalink
Merge pull request #1455 from crazy-max/nodegroup-exclude-field
Browse files Browse the repository at this point in the history
store: skip DockerContext field from being saved
  • Loading branch information
crazy-max authored Dec 7, 2022
2 parents aa6fd3d + fa58522 commit d1f7931
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions store/nodegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d1f7931

Please sign in to comment.