Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
navidshaikh committed May 29, 2020
1 parent 4fc316a commit cdc98fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sources/v1alpha2/apiserver_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ func (b *APIServerSourceBuilder) Sink(sink duckv1.Destination) *APIServerSourceB
return b
}

// CloudEventOverrides adds given Cloud Event override extensions map to source spec
func (b *APIServerSourceBuilder) CloudEventOverrides(ceo map[string]string, toRemove []string) *APIServerSourceBuilder {
if ceo == nil && len(toRemove) == 0 {
return b
Expand Down
1 change: 1 addition & 0 deletions pkg/sources/v1alpha2/ping_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ func (b *PingSourceBuilder) Sink(sink duckv1.Destination) *PingSourceBuilder {
return b
}

// CloudEventOverrides adds given Cloud Event override extensions map to source spec
func (b *PingSourceBuilder) CloudEventOverrides(ceo map[string]string, toRemove []string) *PingSourceBuilder {
if ceo == nil && len(toRemove) == 0 {
return b
Expand Down

0 comments on commit cdc98fc

Please sign in to comment.