Commit b1765d2
authored
fix: extract-image regression (#791)
Concurrent node/add-module actions fail on flock acquiring the lock
file.
The lock file is created in a unique path by node/add-module,
preventing the execution of multiple modules installation at the same
time, which normally happens in cluster/create-cluster and
cluster/add-node actions.
Refs NethServer/dev#7058
This commit changes extract-image behavior. The lock file is created
under ./ (the working directory) instead of AGENT_INSTALL_DIR/.1 parent fea1a2f commit b1765d2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments