Update process-exporter methods
This commit is contained in:
parent
2fa55eabf6
commit
1fed943b3d
3 changed files with 25 additions and 20 deletions
|
|
@ -70,8 +70,7 @@ func TestFlagConflict(t *testing.T) {
|
|||
defer func() { os.Args = oldArgs }()
|
||||
os.Args = []string{"cmd", "--publish-service", "namespace/test", "--http-port", "0", "--https-port", "0", "--publish-status-address", "1.1.1.1"}
|
||||
|
||||
_, c, err := parseFlags()
|
||||
t.Logf("%v", c)
|
||||
_, _, err := parseFlags()
|
||||
if err == nil {
|
||||
t.Fatalf("Expected an error parsing flags but none returned")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue