InternalFunction is not serializable to YAML

This commit is contained in:
Pieter van de Bruggen 2019-07-31 20:48:15 -07:00
parent b2878345b5
commit b5df76187b

View file

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