aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-11-01 22:40:21 +0100
committeramine <hilalyamine@gmail.com>2019-11-01 22:44:11 +0100
commit60c6bd360f164b8f955b21cd1d0bc0cca6e5cb51 (patch)
treef82d8638276ddffe244063c5deffb8b7c21cbcd6 /commands/webui.go
parent618f896f667b272c1272b1289c8ff3f3310c3168 (diff)
downloadgit-bug-60c6bd360f164b8f955b21cd1d0bc0cca6e5cb51.tar.gz
bridge: use new repository configuration interface
commands/webui: use new repository configuration interface
Diffstat (limited to 'commands/webui.go')
-rw-r--r--commands/webui.go2
1 files changed, 1 insertions, 1 deletions
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