Fix typos in docs, comments, code (#1483)

This commit is contained in:
Greg Myers 2022-04-27 03:04:12 -06:00 committed by GitHub
parent 44b11c2e5b
commit 0f4ab71f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 39 additions and 39 deletions

View file

@ -538,7 +538,7 @@ func TestAPICPullTop(t *testing.T) {
Scope: types.StrPtr("Ip"),
Duration: types.StrPtr("24h"),
Type: types.StrPtr("ban"),
}, // Thie is already present in DB
}, // This is already present in DB
&models.Decision{
Origin: &SCOPE_LISTS,
Scenario: types.StrPtr("crowdsecurity/ssh-bf"),
@ -910,7 +910,7 @@ func TestShouldShareAlert(t *testing.T) {
expectedTrust: "manual",
},
{
name: "manaul alert should not be shared if config disables it",
name: "manual alert should not be shared if config disables it",
consoleConfig: &csconfig.ConsoleConfig{
ShareManualDecisions: types.BoolPtr(false),
},
@ -934,7 +934,7 @@ func TestShouldShareAlert(t *testing.T) {
expectedTrust: "tainted",
},
{
name: "manaul alert should not be shared if config disables it",
name: "manual alert should not be shared if config disables it",
consoleConfig: &csconfig.ConsoleConfig{
ShareTaintedScenarios: types.BoolPtr(false),
},