mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Fixing golint warnings
This commit is contained in:
parent
c4f4f69b93
commit
d5fcaa1f03
@ -163,12 +163,12 @@ func New(storage map[string]RESTStorage, prefix string) *APIServer {
|
|||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *APIServer) operationPrefix() string {
|
func (server *APIServer) operationPrefix() string {
|
||||||
return path.Join(s.prefix, "operations")
|
return path.Join(server.prefix, "operations")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *APIServer) watchPrefix() string {
|
func (server *APIServer) watchPrefix() string {
|
||||||
return path.Join(s.prefix, "watch")
|
return path.Join(server.prefix, "watch")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (server *APIServer) handleIndex(w http.ResponseWriter, req *http.Request) {
|
func (server *APIServer) handleIndex(w http.ResponseWriter, req *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user