Remove from command/agent/config_test.go
This commit is contained in:
parent
7ce8d3ec13
commit
3a740ac07b
|
@ -683,19 +683,9 @@ func TestDecodeConfig(t *testing.T) {
|
|||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
|
||||
// EnableTagDrift
|
||||
input = `{"enable_tag_drift": true}`
|
||||
config, err = DecodeConfig(bytes.NewReader([]byte(input)))
|
||||
if err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
|
||||
if !config.DisableUpdateCheck {
|
||||
t.Fatalf("bad: %#v", config)
|
||||
}
|
||||
if !config.EnableTagDrift {
|
||||
t.Fatalf("bad: %#v", config)
|
||||
}
|
||||
if !config.DisableAnonymousSignature {
|
||||
t.Fatalf("bad: %#v", config)
|
||||
}
|
||||
|
@ -1199,7 +1189,6 @@ func TestMergeConfig(t *testing.T) {
|
|||
StatsitePrefix: "stats_prefix",
|
||||
StatsdAddr: "127.0.0.1:7251",
|
||||
DisableUpdateCheck: true,
|
||||
EnableTagDrift: true,
|
||||
DisableAnonymousSignature: true,
|
||||
HTTPAPIResponseHeaders: map[string]string{
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
|
|
Loading…
Reference in New Issue