Merge pull request #19250 from rhatdan/tmpfs

Should be checking tmpfs versus type not source
This commit is contained in:
OpenShift Merge Robot
2023-07-17 10:32:54 +02:00
committed by GitHub

View File

@ -1962,7 +1962,7 @@ func (c *Container) makeBindMounts() error {
case m.Destination == "/run/.containerenv":
hasRunContainerenv = true
break Loop
case m.Destination == "/run" && m.Source != define.TypeTmpfs:
case m.Destination == "/run" && m.Type != define.TypeTmpfs:
hasRunContainerenv = true
break Loop
}