Skip to content

Commit

Permalink
chore: fix some typos in comments (#685)
Browse files Browse the repository at this point in the history
Signed-off-by: yudrywet <yudeyao@yeah.net>
  • Loading branch information
yudrywet authored Apr 14, 2024
1 parent 48c76cf commit fc06233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Hook-Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ The IP can be IPv4- or IPv6-formatted, using [CIDR notation](https://en.wikipedi
### Match scalr-signature

The trigger rule checks the scalr signature and also checks that the request was signed less than 5 minutes before it was received.
A unqiue signing key is generated for each webhook endpoint URL you register in Scalr.
A unique signing key is generated for each webhook endpoint URL you register in Scalr.
Given the time check make sure that NTP is enabled on both your Scalr and webhook server to prevent any issues

```json
Expand Down
2 changes: 1 addition & 1 deletion internal/hook/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func ExtractCommaSeparatedValues(source, prefix string) []string {

// ExtractSignatures will extract all the signatures from the source.
func ExtractSignatures(source, prefix string) []string {
// If there are multiple possible matches, let the comma seperated extractor
// If there are multiple possible matches, let the comma separated extractor
// do it's work.
if strings.Contains(source, ",") {
return ExtractCommaSeparatedValues(source, prefix)
Expand Down

0 comments on commit fc06233

Please sign in to comment.