Commit 0ad9221f authored by brendandburns's avatar brendandburns

Merge pull request #695 from danmcp/fix_golint_warnings

Fixing golint warnings
parents cf1f1795 d5fcaa1f
...@@ -163,12 +163,12 @@ func New(storage map[string]RESTStorage, prefix string) *APIServer { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment