Skip to content

Commit

Permalink
upercase
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenQVD0 authored Sep 14, 2024
1 parent 02b4b0b commit fa71dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (s *Server) customMounts() []environment.Mount {

// Check if the target path includes /home/container
// check can be disabled with the AllowBaseDirMount config value
if strings.Contains(target, "/home/container") && config.get().AllowBaseDirMount == false {
if strings.Contains(target, "/home/container") && config.Get().AllowBaseDirMount == false {
logger.WithField("invalid_target_path", target).Warn("Skipping custom server mount; target path includes /home/container")
continue
}
Expand Down

0 comments on commit fa71dc5

Please sign in to comment.