From 63a6f002bfbb56ee37f213c974a5fe9b427d61ff Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Wed, 24 Jun 2026 00:31:27 +0800 Subject: [PATCH] Fix typo: ocurred -> occurred in error messages --- api/aws/s3.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/aws/s3.go b/api/aws/s3.go index a3c28590..9c6a1ec8 100644 --- a/api/aws/s3.go +++ b/api/aws/s3.go @@ -98,7 +98,7 @@ func (c Client) UpdateQPSMetric(userId string, service string, method string) er wg.Go(func() error { err := logAction(userId, service, method) if err != nil { - log.Printf("[WARNING] Logging error ocurred: %s\n", err) + log.Printf("[WARNING] Logging error occurred: %s\n", err) } return err }) @@ -128,7 +128,7 @@ func (c Client) UpdateQPSMetric(userId string, service string, method string) er Namespace: aws.String("multy/server/"), }) if err != nil { - log.Printf("[WARNING] Cloudwatch error ocurred: %s\n", err.Error()) + log.Printf("[WARNING] Cloudwatch error occurred: %s\n", err.Error()) return err } return nil @@ -169,7 +169,7 @@ func (c Client) UpdateErrorMetric(service string, method string, errorCode strin Namespace: aws.String("multy/server/"), }) if err != nil { - log.Printf("[WARNING] Cloudwatch error ocurred: %s\n", err.Error()) + log.Printf("[WARNING] Cloudwatch error occurred: %s\n", err.Error()) } return err }