Skip to content

Instantly share code, notes, and snippets.

@solidsnack
Created June 10, 2014 23:56
Show Gist options
  • Select an option

  • Save solidsnack/ac60a99f00dacd29ec71 to your computer and use it in GitHub Desktop.

Select an option

Save solidsnack/ac60a99f00dacd29ec71 to your computer and use it in GitHub Desktop.
diff --git a/tests/src/main/scala/mesosphere/servicenet/tests/TestDocGenerator.scala b/tests/src/main/scala/mesosphere/servicenet/tests/TestDocGenerator.scala
index f1975a8..7e6416c 100644
--- a/tests/src/main/scala/mesosphere/servicenet/tests/TestDocGenerator.scala
+++ b/tests/src/main/scala/mesosphere/servicenet/tests/TestDocGenerator.scala
@@ -42,8 +42,7 @@ class TestDocGenerator {
// if instance != subnet
} yield {
val instanceName = f"$serviceName-I$instance%x"
- val instanceAddr = f"$serviceAddr:$instance%x"
- Interface(instanceName, ipv6(s"$instanceAddr::"))
+ Interface(instanceName, ipv6(f"$serviceAddr::$instance%x"))
}
NetService(Interface(serviceName, ipv6(s"$serviceAddr::")), instances)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment