diff --git a/config/config.go b/config/config.go index a83936d88..fb3438780 100644 --- a/config/config.go +++ b/config/config.go @@ -285,7 +285,7 @@ type Backups struct { // // "none" -> no compression will be applied // "best_speed" -> uses gzip level 1 for fast speed - // "best_compression" -> uses gzip level 9 for minimal disk space useage + // "best_compression" -> uses gzip level 9 for minimal disk space usage // // Defaults to "best_speed" (level 1) CompressionLevel string `default:"best_speed" yaml:"compression_level"` diff --git a/environment/docker/power.go b/environment/docker/power.go index 7b143a4b4..82bb08fe0 100644 --- a/environment/docker/power.go +++ b/environment/docker/power.go @@ -234,7 +234,7 @@ func (e *Environment) WaitForStop(ctx context.Context, duration time.Duration, t // We pass through the timed context for this stop action so that if one of the // internal docker calls fails to ever finish before we've exhausted the time limit - // the resources get cleaned up, and the exection is stopped. + // the resources get cleaned up, and the execution is stopped. if err := e.Stop(tctx); err != nil { if terminate && errors.Is(err, context.DeadlineExceeded) { return doTermination("stop") diff --git a/router/middleware/middleware.go b/router/middleware/middleware.go index 190871149..f203f10fb 100644 --- a/router/middleware/middleware.go +++ b/router/middleware/middleware.go @@ -176,7 +176,7 @@ func RequireAuthorization() gin.HandlerFunc { } // All requests to Wings must be authorized with the authentication token present in - // the Wings configuration file. Remeber, all requests to Wings come from the Panel + // the Wings configuration file. Remember, all requests to Wings come from the Panel // backend, or using a signed JWT for temporary authentication. if subtle.ConstantTimeCompare([]byte(auth[1]), []byte(config.Get().Token.Token)) != 1 { c.AbortWithStatusJSON(http.StatusForbidden, gin.H{"error": "You are not authorized to access this endpoint."}) diff --git a/system/utils_test.go b/system/utils_test.go index b8fc385fa..633afea37 100644 --- a/system/utils_test.go +++ b/system/utils_test.go @@ -49,7 +49,7 @@ func Test_Utils(t *testing.T) { b = NewAtomicBool(false) }) - g.It("initalizes with the provided start value", func() { + g.It("initializes with the provided start value", func() { b = NewAtomicBool(true) g.Assert(b.Load()).IsTrue()