mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
publish: debug locking
This commit is contained in:
@@ -515,6 +515,8 @@ func apiPublishUpdateSwitch(c *gin.Context) {
|
||||
published.Version = *b.Version
|
||||
}
|
||||
|
||||
|
||||
fmt.Printf("apiPublishUpdateSwitch: %s\n", string(published.Key()))
|
||||
resources := []string{string(published.Key())}
|
||||
taskName := fmt.Sprintf("Update published %s repository %s/%s", published.SourceKind, published.StoragePrefix(), published.Distribution)
|
||||
maybeRunTaskInBackground(c, taskName, resources, func(out aptly.Progress, _ *task.Detail) (*task.ProcessReturnValue, error) {
|
||||
|
||||
Reference in New Issue
Block a user