diff --git a/src/config/config.go b/src/config/config.go index 2e42dddc..a2c73a12 100644 --- a/src/config/config.go +++ b/src/config/config.go @@ -14,7 +14,7 @@ import ( type Config struct { Mongo *mongo.MongoConfig `json:"mongo"` Prometheus *prometheusprovider.PrometheusConfig `json:"prometheus"` - Registry *RegistryConfig `json:"registry"` + Registry *registryConfig `json:"registry"` Logger logger.LoggerConfig `json:"logger"` // the version settings of the current application diff --git a/src/config/registry.go b/src/config/registry.go index bc29c5eb..13e923c0 100644 --- a/src/config/registry.go +++ b/src/config/registry.go @@ -1,6 +1,5 @@ package config -// Config is the structure for Registry Config -type RegistryConfig struct { +type registryConfig struct { URL string `json:"url"` }