diff --git a/server/mounts.go b/server/mounts.go index 307a994..1be94e1 100644 --- a/server/mounts.go +++ b/server/mounts.go @@ -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 }