chore(server): fix const ops (#5190)

This commit is contained in:
Irena Rindos authored and GitHub committed 2024-10-23 08:42:36 -04:00
1 parent a862dc1691
commit dfde64e648
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -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")
}