This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent/minimum: set default value for identity instead of returning error
tests: add tests to print minimum and full agent with test config file Signed-off-by: Allen Bai <abai@redhat.com>
- Loading branch information
Allen Bai
committed
Oct 21, 2019
1 parent
6a5e8f1
commit 05db91d
Showing
7 changed files
with
51 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,8 +42,3 @@ impl IdentityFull { | |
} | ||
} | ||
} | ||
|
||
#[test] | ||
fn test_print_full() { | ||
println!("{:?}", IdentityFull::new()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mod fragments; | ||
pub(crate) mod fragments; | ||
|
||
pub(crate) mod inputs; |
9 changes: 9 additions & 0 deletions
9
tests/full/fedora-coreos-pinger/config.d/10-default-enable.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# fedora-coreos-pinger default configuration | ||
|
||
[collecting] | ||
# Default collecting.level is `minimal`. May be set to `"minimal"` or `"full"`. | ||
level = "full" | ||
|
||
[reporting] | ||
# Required. May be set to `true` or `false`. | ||
enabled = true |
File renamed without changes.