Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion environment/docker/power.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion router/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -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."})
Expand Down
2 changes: 1 addition & 1 deletion system/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down