Fetch donut stats properly, update assetfs with new changes

master
Harshavardhana 9 years ago
parent 83d8de05ce
commit 301ffe60a2
  1. 8
      assetfs.go
  2. 9
      controller-rpc.go

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…
Cancel
Save