Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 25 lines 715 B view raw
1From 9c76dbff982b0fd8beaffae42a6e98bc1e67f089 Mon Sep 17 00:00:00 2001 2From: Gabriel Simmer <g@gmem.ca> 3Date: Fri, 21 Jul 2023 08:16:52 +0100 4Subject: [PATCH] Disable auto update 5 6--- 7 internal/config/config.go | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10diff --git a/internal/config/config.go b/internal/config/config.go 11index 1914f8e0..958baf27 100644 12--- a/internal/config/config.go 13+++ b/internal/config/config.go 14@@ -141,7 +141,7 @@ func (cfg *Config) ApplyFile(path string) (err error) { 15 AutoUpdate bool `yaml:"auto_update"` 16 } 17 w.SendMetrics = true 18- w.AutoUpdate = true 19+ w.AutoUpdate = false 20 21 if err = unmarshal(path, &w); err == nil { 22 cfg.AccessToken = w.AccessToken 23-- 242.41.0 25