mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +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
|
||||
}
|
||||
|
||||
func (s *APIServer) operationPrefix() string {
|
||||
return path.Join(s.prefix, "operations")
|
||||
func (server *APIServer) operationPrefix() string {
|
||||
return path.Join(server.prefix, "operations")
|
||||
}
|
||||
|
||||
func (s *APIServer) watchPrefix() string {
|
||||
return path.Join(s.prefix, "watch")
|
||||
func (server *APIServer) watchPrefix() string {
|
||||
return path.Join(server.prefix, "watch")
|
||||
}
|
||||
|
||||
func (server *APIServer) handleIndex(w http.ResponseWriter, req *http.Request) {
|
||||
|
Loading…
Reference in New Issue
Block a user