aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-01 22:16:57 +0000
committerGitHub <noreply@github.com>2019-11-01 22:16:57 +0000
commitf5193cc76dd1a1c1bb55194a64ef90bae2278115 (patch)
tree74c5f184df4fb27bec0d6f809ce9816ec133d80f /commands
parent11b4a1beb7e1ab8809515a5ce21e8708fba7f300 (diff)
parentf9f82957a78ea0d3cacddbc6914ce98b94ddf7bd (diff)
downloadgit-bug-f5193cc76dd1a1c1bb55194a64ef90bae2278115.tar.gz
Merge pull request #240 from MichaelMure/repo-config
repository config interface and implementation rework
Diffstat (limited to 'commands')
-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