mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:31:47 +00:00
* Revert "Revert "endpoint: improve k8s stateful set support (#23852)"" This reverts commit7dc29e29db. * endpoints: construct endpoint URL correctly The last PR introduced a bug by not using u.endpointURL like before. So we were missing port numbers and the service name in each endpoint. Facepalm. * Revert "Revert "endpoints: properly name the discovery function (#23883)"" This reverts commitacb5c1f728.
13 lines
119 B
Go
13 lines
119 B
Go
package endpoint
|
|
|
|
import (
|
|
"flag"
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
flag.Parse()
|
|
os.Exit(m.Run())
|
|
}
|