From 60c6bd360f164b8f955b21cd1d0bc0cca6e5cb51 Mon Sep 17 00:00:00 2001 From: amine Date: Fri, 1 Nov 2019 22:40:21 +0100 Subject: bridge: use new repository configuration interface commands/webui: use new repository configuration interface --- commands/webui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/webui.go b/commands/webui.go index d6b6a661..8e735e55 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -100,7 +100,7 @@ func runWebUI(cmd *cobra.Command, args []string) error { fmt.Printf("Graphql Playground: http://%s/playground\n", addr) fmt.Println("Press Ctrl+c to quit") - configOpen, err := repo.ReadConfigBool(webUIOpenConfigKey) + configOpen, err := repo.LocalConfig().ReadBool(webUIOpenConfigKey) if err == repository.ErrNoConfigEntry { // default to true configOpen = true -- cgit