1
0
Fork 0

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 <q3k@hackerspace.pl>
master
radex 2023-08-05 19:01:28 +02:00
parent 26fb573055
commit 291f554164
1 changed files with 1 additions and 1 deletions

View File

@ -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)")
}