Skip to content

Commit ff5add4

Browse files
dzmitry-lahodaF1bonacc1
authored andcommitted
spelling
1 parent 81ef36d commit ff5add4

7 files changed

Lines changed: 12 additions & 11 deletions

File tree

src/api/pc_api.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package api
22

33
import (
4-
"github.com/f1bonacc1/process-compose/src/types"
54
"net/http"
65
"strconv"
76
"sync"
87

8+
"github.com/f1bonacc1/process-compose/src/types"
9+
910
"github.com/f1bonacc1/process-compose/src/app"
1011
"github.com/gin-gonic/gin"
1112
)
@@ -372,7 +373,7 @@ func (api *PcApi) UpdateProject(c *gin.Context) {
372373

373374
// @Schemes
374375
// @Id UpdateProcess
375-
// @Description Update porcess
376+
// @Description Update process
376377
// @Tags Process
377378
// @Summary Updates process configuration
378379
// @Produce json

src/app/system_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ func TestSystem_TestComposeCircular(t *testing.T) {
170170
_, err := loader.Load(&loader.LoaderOptions{
171171
FileNames: []string{fixture1},
172172
})
173-
if err == nil {
174-
t.Error("should fail on cirlcular dependency")
173+
if err == nil {
174+
t.Error("should fail on circular dependency")
175175
return
176176
}
177177

src/docs/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const docTemplate = `{
4242
},
4343
"/process": {
4444
"post": {
45-
"description": "Update porcess",
45+
"description": "Update process",
4646
"produces": [
4747
"application/json"
4848
],

src/docs/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
},
513513
"/process": {
514514
"post": {
515-
"description": "Update porcess",
515+
"description": "Update process",
516516
"operationId": "UpdateProcess",
517517
"responses": {
518518
"200": {

src/docs/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ paths:
348348
- Liveness
349349
/process:
350350
post:
351-
description: Update porcess
351+
description: Update process
352352
operationId: UpdateProcess
353353
responses:
354354
"200":

www/docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ processes:
447447
namespace: debug # if not defined 'default' namespace is automatically assigned to each process
448448
```
449449

450-
Note: By default `process-compose` will start process from all the configured namespaces. To start a sub set of the configured namespaces (`ns1`, `ns2`, `ns3`):
450+
Note: By default `process-compose` will start processes from all the configured namespaces. To start a subset of the configured namespaces (`ns1`, `ns2`, `ns3`):
451451

452452
```shell
453453
process-compose -n ns1 -n ns3
@@ -457,7 +457,7 @@ process-compose -n ns1 -n ns3
457457
## Misc
458458

459459
#### Strict Configuration Validation
460-
To avoid minor `proces-compose.yaml` configuration errors and typos it is recommended to enable `is_strict` flag:
460+
To avoid minor `process-compose.yaml` configuration errors and typos it is recommended to enable `is_strict` flag:
461461

462462
```yaml hl_lines="2 5"
463463
version: "0.5"

www/docs/merge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Using multiple `process-compose` files lets you to customize a `process-compose` application for different environments or different workflows.
1+
Using multiple `process-compose` files lets you customize a `process-compose` application for different environments or different workflows.
22

33
### Understanding multiple Compose files
44

@@ -272,4 +272,4 @@ Both `disabled` (boolean) and `is_disabled` (string) can coexist, but `is_disabl
272272

273273
- For **standard configuration** within a single file or when not dealing with complex override scenarios to *enable* a process, you can continue using the boolean `disabled` field (`disabled: true` or `disabled: false`).
274274
- When **using override files** specifically to *enable* a process that might be disabled in a base file, use `is_disabled: "false"` in the override file for guaranteed results.
275-
- You can also use `is_disabled: "true"` in override files if you prefer consistency, although `disabled: true` generally works reliably for disabling.
275+
- You can also use `is_disabled: "true"` in override files if you prefer consistency, although `disabled: true` generally works reliably for disabling.

0 commit comments

Comments
 (0)