mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-14 14:47:19 +00:00
add storage API
This commit is contained in:
1 parent
aff7b0db50
commit
06cbd29d0d
3 files changed
+40
No files matched your search
@@ -125,6 +125,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
|
||||
api.GET("/metrics", apiMetricsGet())
|
||||
}
|
||||
api.GET("/version", apiVersion)
|
||||
api.GET("/storage", apiDiskFree)
|
||||
|
||||
isReady := &atomic.Value{}
|
||||
isReady.Store(false)
|
||||
|
||||
Reference in new issue
Block a user