From bdd5036cf8d329e3abc96096ebadc6c1c33fbc5d Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 4 Apr 2025 11:07:19 +0530 Subject: [PATCH] Update comment --- server/pkg/utils/config/config.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/pkg/utils/config/config.go b/server/pkg/utils/config/config.go index 0aa995a3d8..0d9c18c6f8 100644 --- a/server/pkg/utils/config/config.go +++ b/server/pkg/utils/config/config.go @@ -8,9 +8,11 @@ // // The names of the OS environment variables should be // -// - prefixed with 'ENTE_' +// - prefixed with 'ENTE_', // -// - uppercased versions of the config file variable names +// - uppercased versions of the config file variable names, +// +// - dashes are replaced with '_', // // - for nested config variables, dots should be replaced with '_'. // @@ -19,7 +21,7 @@ // foo: // bar-baz: quux // -// would be `ENTE_FOO_BAR-BAZ`. +// would be `ENTE_FOO_BAR_BAZ`. package config import (