Merge pull request #875 from harshavardhana/fetch-donut

Fetch donut stats properly, update assetfs with new changes
This commit is contained in:
Harshavardhana 2015-09-26 00:44:14 -07:00
commit da1293240c
2 changed files with 13 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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
}