Skip to content

Commit

Permalink
Fix Cassandra fixed address translator unit test (#3179)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigozhou authored Aug 3, 2022
1 parent ab56cdf commit 04e4c65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (s *fixedTranslatorPluginTestSuite) TestFixedAddressTranslator() {
s.Errorf(err, "fail to lookup IP for temporal.io")
}

ipToExpect := lookupIP[0]
ipToExpect := lookupIP[0].To4()

translator, err := plugin.GetTranslator(configuration)
translatedHost, translatedPort := translator.Translate(net.ParseIP("1.1.1.1"), 6001)
Expand Down

0 comments on commit 04e4c65

Please sign in to comment.