aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/model.go
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2022-12-17 23:45:40 -0800
committerMax Resnick <max@ofmax.li>2022-12-17 23:48:30 -0800
commitec633ec4c55f0098535d6a438e3bc4c3786ad486 (patch)
tree80eb05d0421f3042e7db718b2a412d3a774bf530 /internal/admin/model.go
parentab38860d69c194969bea9ae5ef385c35eb94b988 (diff)
downloadgo-git-server-ec633ec4c55f0098535d6a438e3bc4c3786ad486.tar.gz
add more test to cover reconciler
Diffstat (limited to 'internal/admin/model.go')
-rw-r--r--internal/admin/model.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/admin/model.go b/internal/admin/model.go
index 59f2498..c0fb888 100644
--- a/internal/admin/model.go
+++ b/internal/admin/model.go
@@ -182,6 +182,7 @@ func (r *GitWeb) ReconcileGitConf(repoBase string) {
if (GitWeb{} == *r) {
if cfg.HasSection("gitweb") {
cfg.DeleteSection("gitweb")
+ cfg.SaveTo(confPath)
}
return
}