We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69e7b9 commit 4999497Copy full SHA for 4999497
pkg/runtime/depot.go
@@ -137,6 +137,9 @@ func (d *depot) Path(id strfmt.UUID) string {
137
// necessary information. Writing externally is preferred because otherwise the depot would need a lot of specialized
138
// logic that ultimately don't really need to be a concern of the depot.
139
func (d *depot) Put(id strfmt.UUID) error {
140
+ d.fsMutex.Lock()
141
+ defer d.fsMutex.Unlock()
142
+
143
if !fileutils.TargetExists(d.Path(id)) {
144
return errs.New("could not put %s, as dir does not exist: %s", id, d.Path(id))
145
}
0 commit comments