Skip to content

Commit

Permalink
Remove wrong property
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Guitton committed Jan 8, 2024
1 parent d1fc032 commit f5da917
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/resources/templates/config/nifi_properties.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ func GenerateListenerSpecificConfig(
httpsPortConfig := "nifi.web.https.port=\n"
httpsHostConfig := "nifi.web.https.host=\n"
s2sPortConfig := "nifi.remote.input.socket.port=\n"
nodeLoadBalancePortConfig := "nifi.cluster.node.load.balance.port=\n"
loadBalancePortConfig := "nifi.cluster.load.balance.port=\n"

for _, iListener := range l.InternalListeners {
Expand All @@ -460,7 +459,6 @@ func GenerateListenerSpecificConfig(
case v1.S2sListenerType:
s2sPortConfig = fmt.Sprintf("nifi.remote.input.socket.port=%d", iListener.ContainerPort) + "\n"
case v1.LoadBalanceListenerType:
nodeLoadBalancePortConfig = fmt.Sprintf("nifi.cluster.node.load.balance.port=%d", iListener.ContainerPort) + "\n"
loadBalancePortConfig = fmt.Sprintf("nifi.cluster.load.balance.port=%d", iListener.ContainerPort) + "\n"
}
}
Expand All @@ -471,7 +469,6 @@ func GenerateListenerSpecificConfig(
httpsPortConfig +
httpsHostConfig +
s2sPortConfig +
nodeLoadBalancePortConfig +
loadBalancePortConfig

nifiConfig = nifiConfig + fmt.Sprintf("nifi.remote.input.host=%s", hostListener) + "\n"
Expand Down

0 comments on commit f5da917

Please sign in to comment.