Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update comment

Manav Rathibdd5036cf8d3
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 (