From 3b9b13c67aa83548c401a8db399d3b3cfb1afe88 Mon Sep 17 00:00:00 2001 From: Daniel Kirillov Date: Thu, 11 May 2023 10:09:31 -0400 Subject: [PATCH] dkirillov/gh-76: Diff command - LoadConfig arg fix (#77) - fixed the use of config.LoadConfig --- pkg/command/diff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/command/diff.go b/pkg/command/diff.go index 02e00ed..b177328 100644 --- a/pkg/command/diff.go +++ b/pkg/command/diff.go @@ -26,7 +26,7 @@ func NewDiffCommand(d *Dependencies) *cobra.Command { Long: `Shows difference between current and desired state of the pipeline.`, RunE: func(cmd *cobra.Command, args []string) error { - settingsBytes, err := config.LoadConfig(d.Project, "render", renderValues) + settingsBytes, err := config.LoadConfig(d.Project, renderValues, "render") var confErr *config.ConfigurationErr