Skip to content

Commit

Permalink
Merge pull request #23 from datainfrahq/addinterface
Browse files Browse the repository at this point in the history
fix builder
  • Loading branch information
AdheipSingh authored Jun 6, 2023
2 parents 92b9257 + e4c5961 commit 1f85c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/builder_network_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ type BuilderNetworkPolicy struct {
CommonBuilder
}

func ToNewBuilderNetworkPolicy(builder []BuilderService) func(*Builder) {
func ToNewBuilderNetworkPolicy(builder []BuilderNetworkPolicy) func(*Builder) {
return func(s *Builder) {
s.Service = builder
s.NetworkPolicy = builder
}
}

Expand Down

0 comments on commit 1f85c7f

Please sign in to comment.