From 291f55416443ff09e07810c06240e5f9fcb9175b Mon Sep 17 00:00:00 2001 From: radex Date: Sat, 5 Aug 2023 19:01:28 +0200 Subject: [PATCH] go/pki: show helpful hint to new contributors about -hspki_disable Change-Id: I714f503f5962578055b99009aa0eccb72517d37b Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1562 Reviewed-by: q3k --- go/pki/locate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/pki/locate.go b/go/pki/locate.go index e075f55b..1d7e45c9 100644 --- a/go/pki/locate.go +++ b/go/pki/locate.go @@ -104,5 +104,5 @@ func loadCredentials() (*creds, error) { } glog.Warningf("Could not load flag-defined PKI credentials: %v", err) - return nil, fmt.Errorf("could not load any credentials") + return nil, fmt.Errorf("could not load PKI credentials (hint: run `prodaccess` to set up developer certs or add `-- -hspki_disable` to bazel run command)") }