Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quzard committed Jan 17, 2025
1 parent 1f8e8fb commit beefe55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/helper/docker_center.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,9 @@ func (dc *DockerCenter) CreateInfoDetail(info types.ContainerJSON, envConfigPref
ContainerIP: ip,
lastUpdateTime: time.Now(),
}
for _, mount := range info.Mounts {
mount.Source = filepath.Clean(mount.Source)
mount.Destination = filepath.Clean(mount.Destination)
for i := range info.Mounts {
info.Mounts[i].Source = filepath.Clean(info.Mounts[i].Source)
info.Mounts[i].Destination = filepath.Clean(info.Mounts[i].Destination)
}

// Find Env Log Configs
Expand Down

0 comments on commit beefe55

Please sign in to comment.