Skip to content

Commit cc379df

Browse files
Merge pull request #339 from SumoLogic/gcp_typo
Fixing typo in error message
2 parents 327851d + 7ac6274 commit cc379df

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
BUG FIXES:
44

55
* sumologic_cse_log_mapping split_index as int (GH-333)
6+
* Gcp Metrics Source (GH-329, 332)
67

78
ENHANCEMENTS:
89

sumologic/resource_sumologic_generic_polling_source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,13 @@ func addGcpServiceAccountDetailsToAuth(authSettings *PollingAuthentication, auth
481481

482482
errTxt := ""
483483
if len(strings.Trim(authSettings.ProjectId, " \t")) == 0 {
484-
errTxt = errTxt + "\nproject_id is mandator while using service_account authentication"
484+
errTxt = errTxt + "\nproject_id is mandatory while using service_account authentication"
485485
}
486486
if len(authSettings.ClientEmail) == 0 {
487-
errTxt = errTxt + "\nclient_email is mandator while using service_account authentication"
487+
errTxt = errTxt + "\nclient_email is mandatory while using service_account authentication"
488488
}
489489
if len(authSettings.PrivateKey) == 0 {
490-
errTxt = errTxt + "\nprivate_key is mandator while using service_account authentication"
490+
errTxt = errTxt + "\nprivate_key is mandatory while using service_account authentication"
491491
}
492492

493493
if len(errTxt) == 0 {

0 commit comments

Comments
 (0)