chore(server): fix const ops (#5190)
This commit is contained in:
1 parent
a862dc1691
commit
dfde64e648
4 files changed
+6
-6
No files matched your search
@@ -215,7 +215,7 @@ func (w *WorkerCertBundle) clone() *WorkerCertBundle {
|
||||
|
||||
// Validate is called before storing a WorkerCertBundle in the db
|
||||
func (w *WorkerCertBundle) ValidateNewWorkerCertBundle(ctx context.Context) error {
|
||||
const op = "server.(WorkerAuth).validateNewWorkerCertBundle"
|
||||
const op = "server.(WorkerCertBundle).validateNewWorkerCertBundle"
|
||||
if w.RootCertificatePublicKey == nil {
|
||||
return errors.New(ctx, errors.InvalidParameter, op, "missing CertificatePublicKey")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user