about summary refs log tree commit diff
path: root/tools/nixery/config/pkgsource.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-10-27T12·30+0100
committerVincent Ambo <mail@tazj.in>2020-10-27T13·03+0100
commit5ce745d104e82d836967e3bd9fd7af9602e76114 (patch)
tree7460ec21a8eca168e70f5bc804c5ca89fba7411c /tools/nixery/config/pkgsource.go
parent4ce32adfe8aff1189e42a8a375782c9ea86a0b79 (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/pkgsource.go')
-rw-r--r--tools/nixery/config/pkgsource.go2
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,