This commit is contained in:
Maidul Islam
2024-02-04 17:08:04 -05:00
parent bcdb1b11bc
commit c10f4ece51

View File

@@ -472,7 +472,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
// TODO: Move to telemetry plugin
let shouldRecordK8Event = false;
if (req.headers["user-agent"] === "k8-operator") {
if (req.headers["user-agent"] === "k8-operatoer") {
const randomNumber = Math.random();
if (randomNumber > 0.95) {
shouldRecordK8Event = true;