4
0
Fork 2
mirror of https://gerrit.hackerspace.pl/hscloud synced 2024-10-18 05:07:46 +00:00

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>
This commit is contained in:
radex 2023-08-05 19:01:28 +02:00
parent 26fb573055
commit 291f554164

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