Expose /resetMetrics handle in apiserver

This commit is contained in:
Wojciech Tyczynski
2015-06-23 09:14:43 +02:00
parent ebeb104493
commit 23d405ad86
5 changed files with 85 additions and 44 deletions

View File

@@ -230,7 +230,7 @@ func handleInternal(legacy bool, storage map[string]rest.Storage, admissionContr
panic(fmt.Sprintf("unable to install container %s: %v", group.Version, err))
}
ws := new(restful.WebService)
InstallSupport(mux, ws)
InstallSupport(mux, ws, false)
container.Add(ws)
return &defaultAPIServer{mux, group, container}
}