Skip to content

Commit

Permalink
fix WithName func in fetch_definition.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Dino Omanovic committed Dec 14, 2016
1 parent 2832939 commit 6eda1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composition/fetch_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func (fd *FetchDefinition) WithResponseProcessor(rp ResponseProcessor) *FetchDef
}

// Set a name to be used in the merge context later on
func (fd *FetchDefinition) WithName(name string) {
fd.Name
func (fd *FetchDefinition) WithName(name string) *FetchDefinition {
fd.Name = name
return fd
}

Expand Down

0 comments on commit 6eda1e8

Please sign in to comment.