Merge pull request #142 from pvande/fix/crash-on-credits-tab

Credits context crashes when trying to export InternalFunction
This commit is contained in:
Dawid Dziurla 2019-08-01 16:52:16 +02:00 committed by GitHub
commit 8970352efc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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