Fix branch names support for k8s runtime (#2020)

* fix branch names support for k8s

* remove logs

Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
Dominic Wong
2020-09-25 08:41:28 +01:00
committed by GitHub
parent a18806c9ef
commit 76275e857c
3 changed files with 10 additions and 6 deletions

View File

@@ -36,6 +36,8 @@ func TestFormatName(t *testing.T) {
{"foo.bar", "foo-bar"},
{"Foo.Bar", "foo-bar"},
{"go.micro.foo.bar", "go-micro-foo-bar"},
{"go.micro.foo.bar", "go-micro-foo-bar"},
{"foo/bar_baz", "foo-bar-baz"},
}
for _, test := range testCases {