Skip to content

Commit

Permalink
Use the additional seeds service in the config (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimdickinson committed Aug 10, 2020
1 parent 8cf0527 commit 4aaaff7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,9 @@ func (dc *CassandraDatacenter) GetConfigAsJSON() (string, error) {
// resolve to the seed nodes. This obviates the need to update the
// cassandra.yaml whenever the seed nodes change.
seeds := []string{dc.GetSeedServiceName()}
seeds = append(seeds, dc.Spec.AdditionalSeeds...)
if len(dc.Spec.AdditionalSeeds) > 0 {
seeds = append(seeds, dc.GetAdditionalSeedsServiceName())
}

graphEnabled := 0
solrEnabled := 0
Expand Down

0 comments on commit 4aaaff7

Please sign in to comment.