mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 19:28:16 +00:00
test
This commit is contained in:
@@ -472,7 +472,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
|
|||||||
|
|
||||||
// TODO: Move to telemetry plugin
|
// TODO: Move to telemetry plugin
|
||||||
let shouldRecordK8Event = false;
|
let shouldRecordK8Event = false;
|
||||||
if (req.headers["user-agent"] === "k8-operator") {
|
if (req.headers["user-agent"] === "k8-operatoer") {
|
||||||
const randomNumber = Math.random();
|
const randomNumber = Math.random();
|
||||||
if (randomNumber > 0.95) {
|
if (randomNumber > 0.95) {
|
||||||
shouldRecordK8Event = true;
|
shouldRecordK8Event = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user