Skip to content

Commit

Permalink
InternalFunction is not serializable to YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
pvande committed Aug 1, 2019
1 parent b287834 commit b5df761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ type CustomCommand struct {
ServiceNames []string `yaml:"serviceNames"`

// InternalFunction is the name of a function inside lazydocker that we want to run, as opposed to a command-line command. This is only used internally and can't be configured by the user
InternalFunction func() error `yaml:"internalFunction"`
InternalFunction func() error `yaml:"-"`
}

// GetDefaultConfig returns the application default configuration NOTE (to
Expand Down

0 comments on commit b5df761

Please sign in to comment.