Fix golangci-lint issues
This commit is contained in:
@ -41,6 +41,7 @@ func TestFlagRegistration(t *testing.T) {
|
||||
f := flag.Lookup("agentx.addr")
|
||||
if f == nil {
|
||||
t.Error("Expected agentx.addr flag to be registered")
|
||||
return
|
||||
}
|
||||
|
||||
if f.DefValue != "localhost:705" {
|
||||
|
Reference in New Issue
Block a user