locking: use uuids, since names can be renamed

This commit is contained in:
André Roth
2026-06-10 19:11:33 +02:00
parent d5b1482ab5
commit b9521660d3
4 changed files with 9 additions and 15 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ func apiReposCreate(c *gin.Context) {
AbortWithJSONError(c, http.StatusNotFound, fmt.Errorf("source snapshot not found: %s", err))
return
}
resources = append(resources, string(snapshot.ResourceKey()))
resources = append(resources, string(snapshot.Key()))
}
taskName := fmt.Sprintf("Create repository %s", b.Name)