Skip to content

Commit

Permalink
chore: spelling
Browse files Browse the repository at this point in the history
Ran `codespell` on the repo and fixed accordingly.
  • Loading branch information
MorganPattersonSignet authored May 1, 2024
1 parent 5cd5cfe commit 997c607
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Apps built with Nitric can be deployed to AWS, Azure or Google Cloud all from the same code base so you can focus on your products, not your cloud provider.

Nitric makes it easy to architect cloud applications directly in application code, building scalable & secure applications with least priviledge security out of the box.
Nitric makes it easy to architect cloud applications directly in application code, building scalable & secure applications with least privilege security out of the box.

<p align="center">
<img alt="Nitric Diagram" src="docs/assets/diagram.svg">
Expand Down
2 changes: 1 addition & 1 deletion cloud/common/deploy/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func ValidateRawConfigKeys(attributes map[string]interface{}, knownKeys []string
return nil
}

// ConfigFromAttributes - Merges given attributes into a useable config, all types are updated with the provided default config item
// ConfigFromAttributes - Merges given attributes into a usable config, all types are updated with the provided default config item
func ConfigFromAttributes[T AbstractItem](attributes map[string]interface{}, defaultItem T) (*AbstractConfig[T], error) {
config := new(AbstractConfig[T])

Expand Down
2 changes: 1 addition & 1 deletion cloud/gcp/cmd/runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ Debian
make gcp-docker-debian
```

> __Note:__ Seperate distributions required between glibc/musl as dynamic linker is used for golang plugin support
> __Note:__ Separate distributions required between glibc/musl as dynamic linker is used for golang plugin support
2 changes: 1 addition & 1 deletion cloud/gcp/runtime/gateway/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var _ = Describe("Http", func() {
})
})

When("From a subcription with a NitricEvent", func() {
When("From a subscription with a NitricEvent", func() {
content, _ := structpb.NewStruct(map[string]interface{}{
"Test": "Test",
})
Expand Down
8 changes: 4 additions & 4 deletions core/contracts/validate/validate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ message StringRules {
// at a maximum
optional uint64 max_bytes = 5;

// Pattern specifes that this field must match against the specified
// Pattern specifies that this field must match against the specified
// regular expression (RE2 syntax). The included expression should elide
// any delimiters.
optional string pattern = 6;
Expand Down Expand Up @@ -647,7 +647,7 @@ message BytesRules {
// at a maximum
optional uint64 max_len = 3;

// Pattern specifes that this field must match against the specified
// Pattern specifies that this field must match against the specified
// regular expression (RE2 syntax). The included expression should elide
// any delimiters.
optional string pattern = 4;
Expand Down Expand Up @@ -733,11 +733,11 @@ message RepeatedRules {
optional uint64 max_items = 2;

// Unique specifies that all elements in this field must be unique. This
// contraint is only applicable to scalar and enum types (messages are not
// constraint is only applicable to scalar and enum types (messages are not
// supported).
optional bool unique = 3;

// Items specifies the contraints to be applied to each item in the field.
// Items specifies the constraints to be applied to each item in the field.
// Repeated message fields will still execute validation against each item
// unless skip is specified here.
optional FieldRules items = 4;
Expand Down
2 changes: 1 addition & 1 deletion core/pkg/proto/deployments/v1/deployments.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Configuring the Membrane

In most cases these will already be set as environment variables withing a nitric templates Dockerfile. This documentation is targeted at developers building their own nitric application templates and those who require the membrane to be run on a bare-metal server.
In most cases these will already be set as environment variables within a nitric templates Dockerfile. This documentation is targeted at developers building their own nitric application templates and those who require the membrane to be run on a bare-metal server.

## Options

Expand Down
2 changes: 1 addition & 1 deletion docs/Operating-Modes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Membrane Operating Modes

The membrane operates in a number of different modes. These modes control how the membrane communicated with it's child process. The mode is configured by setting the system environment variable `MEMBRANE_MODE`. This environment variable will typically be implemented in nitric templates, based on their template type. Availabe modes are:
The membrane operates in a number of different modes. These modes control how the membrane communicated with it's child process. The mode is configured by setting the system environment variable `MEMBRANE_MODE`. This environment variable will typically be implemented in nitric templates, based on their template type. Available modes are:

* FaaS: `MEMBRANE_MODE="FAAS"`
* HTTP Proxy: `MEMBRANE_MODE="HTTP_PROXY"`
2 changes: 1 addition & 1 deletion nitric/proto/deployments/v1/deployments.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ enum ResourceDeploymentAction {
enum ResourceDeploymentStatus {
// The action hasn't started, usually due to a dependency
PENDING = 0;
// The action in currently in-flight, e.g. waiting for cloud provder to provision a resource
// The action in currently in-flight, e.g. waiting for cloud provider to provision a resource
IN_PROGRESS = 1;
// The action has been applied successfully
SUCCESS = 2;
Expand Down

0 comments on commit 997c607

Please sign in to comment.