fix(agent): typo for /distribution endpoint and update related configurations

This commit is contained in:
yusing
2025-05-09 11:37:41 +08:00
parent 455a85e6a0
commit ead27c72f1
4 changed files with 37 additions and 37 deletions

View File

@@ -97,8 +97,8 @@ func NewDockerHandler() http.Handler {
if env.DockerConfigs {
allowedPaths = append(allowedPaths, "/configs")
}
if env.DockerDistributions {
allowedPaths = append(allowedPaths, "/distributions")
if env.DockerDistribution {
allowedPaths = append(allowedPaths, "/distribution")
}
if env.DockerEvents {
allowedPaths = append(allowedPaths, "/events")