From eb5b53bb862022f2f71c5158f9dea1c2228d01dd Mon Sep 17 00:00:00 2001 From: yudrywet Date: Sun, 14 Apr 2024 20:16:27 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: yudrywet --- docs/Hook-Rules.md | 2 +- internal/hook/hook.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Hook-Rules.md b/docs/Hook-Rules.md index 2e5550b..911e198 100644 --- a/docs/Hook-Rules.md +++ b/docs/Hook-Rules.md @@ -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 diff --git a/internal/hook/hook.go b/internal/hook/hook.go index 0510095..6699eeb 100644 --- a/internal/hook/hook.go +++ b/internal/hook/hook.go @@ -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)