Document and add support to input plugins for logging alias (#6357)
This commit is contained in:
@@ -32,6 +32,7 @@ func TestGatherServicesStatus(t *testing.T) {
|
||||
json.Unmarshal([]byte(s), &checks)
|
||||
|
||||
icinga2 := new(Icinga2)
|
||||
icinga2.Log = testutil.Logger{}
|
||||
icinga2.ObjectType = "services"
|
||||
icinga2.Server = "https://localhost:5665"
|
||||
|
||||
@@ -86,6 +87,7 @@ func TestGatherHostsStatus(t *testing.T) {
|
||||
var acc testutil.Accumulator
|
||||
|
||||
icinga2 := new(Icinga2)
|
||||
icinga2.Log = testutil.Logger{}
|
||||
icinga2.ObjectType = "hosts"
|
||||
icinga2.Server = "https://localhost:5665"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user