Skip to content

Commit

Permalink
Merge pull request #695 from danmcp/fix_golint_warnings
Browse files Browse the repository at this point in the history
Fixing golint warnings
  • Loading branch information
brendandburns committed Jul 30, 2014
2 parents cf1f179 + d5fcaa1 commit 0ad9221
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0ad9221

Please sign in to comment.