diff options
author | Vincent Ambo <tazjin@google.com> | 2020-10-27T12·30+0100 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2020-10-27T13·03+0100 |
commit | 5ce745d104e82d836967e3bd9fd7af9602e76114 (patch) | |
tree | 7460ec21a8eca168e70f5bc804c5ca89fba7411c /tools/nixery/config | |
parent | 4ce32adfe8aff1189e42a8a375782c9ea86a0b79 (diff) |
refactor(main): Split HTTP handlers into separate functions
There is a new handler coming up to fix #102 and I want to avoid falling into the classic Go trap of creating thousand-line functions.
Diffstat (limited to 'tools/nixery/config')
-rw-r--r-- | tools/nixery/config/pkgsource.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/config/pkgsource.go b/tools/nixery/config/pkgsource.go index 95236c4b0d15..380e664367e7 100644 --- a/tools/nixery/config/pkgsource.go +++ b/tools/nixery/config/pkgsource.go @@ -140,7 +140,7 @@ func pkgSourceFromEnv() (PkgSource, error) { } if git := os.Getenv("NIXERY_PKGS_REPO"); git != "" { - log.WithField("repo", git).Info("using NIx package set from git repository") + log.WithField("repo", git).Info("using Nix package set from git repository") return &GitSource{ repository: git, |