mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
Include all client fs endpoints in the hosts block
This commit is contained in:
@@ -413,6 +413,9 @@ export default function() {
|
||||
|
||||
this.get(`http://${host}/v1/client/fs/ls/:allocation_id`, clientAllocationFSLsHandler);
|
||||
this.get(`http://${host}/v1/client/stat/ls/:allocation_id`, clientAllocationFSStatHandler);
|
||||
this.get(`http://${host}/v1/client/fs/cat/:allocation_id`, clientAllocationCatHandler);
|
||||
this.get(`http://${host}/v1/client/fs/stream/:allocation_id`, clientAllocationStreamHandler);
|
||||
this.get(`http://${host}/v1/client/fs/readat/:allocation_id`, clientAllocationReadAtHandler);
|
||||
|
||||
this.get(`http://${host}/v1/client/stats`, function({ clientStats }) {
|
||||
return this.serialize(clientStats.find(host));
|
||||
|
||||
Reference in New Issue
Block a user