From b5df76187b71b6d8345d6766fcde12e5968c362f Mon Sep 17 00:00:00 2001 From: Pieter van de Bruggen Date: Wed, 31 Jul 2019 20:48:15 -0700 Subject: [PATCH] InternalFunction is not serializable to YAML --- pkg/config/app_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index a420b7f7..3e62e4e9 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -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