mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
Merge pull request #875 from harshavardhana/fetch-donut
Fetch donut stats properly, update assetfs with new changes
This commit is contained in:
commit
da1293240c
File diff suppressed because one or more lines are too long
@ -22,6 +22,7 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
"runtime"
|
||||
"strings"
|
||||
|
||||
"github.com/gorilla/rpc/v2/json"
|
||||
@ -306,3 +307,11 @@ func (s *controllerRPCService) GetServerVersion(r *http.Request, args *Controlle
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *controllerRPCService) GetVersion(r *http.Request, args *ControllerArgs, res *VersionRep) error {
|
||||
res.Version = "0.0.1"
|
||||
res.BuildDate = minioVersion
|
||||
res.Architecture = runtime.GOARCH
|
||||
res.OperatingSystem = runtime.GOOS
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user