forked from hswaw/hscloud
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
parent
26fb573055
commit
291f554164
|
@ -104,5 +104,5 @@ func loadCredentials() (*creds, error) {
|
||||||
}
|
}
|
||||||
glog.Warningf("Could not load flag-defined PKI credentials: %v", err)
|
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)")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue