From b40f188fae2a44b829709ac9ec695ac3d4cec59c Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Tue, 24 Jul 2018 16:37:25 -0400 Subject: [PATCH] Flatten: Improve spfcache.json instructions (#375) --- pkg/normalize/flatten.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/normalize/flatten.go b/pkg/normalize/flatten.go index 1018614c4..3cf8c693e 100644 --- a/pkg/normalize/flatten.go +++ b/pkg/normalize/flatten.go @@ -73,7 +73,7 @@ func flattenSPFs(cfg *models.DNSConfig) []error { if err := cache.Save("spfcache.updated.json"); err != nil { errs = append(errs, err) } else { - errs = append(errs, Warning{errors.Errorf("%d spf record lookups are out of date with cache (%s).\nWrote changes to spfcache.updated.json. Please rename and commit:\n $ mv spfcache.updated.json spfcache.json\n $ git commit spfcache.json", len(changed), strings.Join(changed, ","))}) + errs = append(errs, Warning{errors.Errorf("%d spf record lookups are out of date with cache (%s).\nWrote changes to spfcache.updated.json. Please rename and commit:\n $ mv spfcache.updated.json spfcache.json\n $ git commit -m'Update spfcache.json' spfcache.json", len(changed), strings.Join(changed, ","))}) } } }