btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / fl / flyctl / disable-auto-update.patch
blob3fe6048871e4c4dc24c7542db79c29ff79ce6371
1 From a46bc88829282032ab1d68ef6d67d25421ab8d32 Mon Sep 17 00:00:00 2001
2 From: Gabriel Simmer <g@gmem.ca>
3 Date: Fri, 21 Jul 2023 08:16:52 +0100
4 Subject: [PATCH] Disable auto update
6 ---
7 internal/config/config.go | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/internal/config/config.go b/internal/config/config.go
11 index 04583ca5..1b085b55 100644
12 --- a/internal/config/config.go
13 +++ b/internal/config/config.go
14 @@ -173,7 +173,7 @@ func (cfg *Config) applyFile(path string) (err error) {
15 SyntheticsAgent bool `yaml:"synthetics_agent"`
17 w.SendMetrics = true
18 - w.AutoUpdate = true
19 + w.AutoUpdate = false
20 w.SyntheticsAgent = true
22 if err = unmarshal(path, &w); err == nil {
23 --
24 2.45.2