From 997c6077b84ff99e075daa7785b0819561137300 Mon Sep 17 00:00:00 2001 From: Morgan Patterson <100230514+MorganPattersonSignet@users.noreply.github.com> Date: Wed, 1 May 2024 08:33:59 -0700 Subject: [PATCH] chore: spelling Ran `codespell` on the repo and fixed accordingly. --- README.md | 2 +- cloud/common/deploy/config/config.go | 2 +- cloud/gcp/cmd/runtime/README.md | 2 +- cloud/gcp/runtime/gateway/http_test.go | 2 +- core/contracts/validate/validate.proto | 8 ++++---- core/pkg/proto/deployments/v1/deployments.pb.go | 2 +- docs/Configuration.md | 2 +- docs/Operating-Modes.md | 2 +- nitric/proto/deployments/v1/deployments.proto | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 55902b5c3..4ce1f2cd5 100644 --- a/README.md +++ b/README.md @@ -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.

Nitric Diagram diff --git a/cloud/common/deploy/config/config.go b/cloud/common/deploy/config/config.go index b14546c50..14ddf1a90 100644 --- a/cloud/common/deploy/config/config.go +++ b/cloud/common/deploy/config/config.go @@ -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]) diff --git a/cloud/gcp/cmd/runtime/README.md b/cloud/gcp/cmd/runtime/README.md index aade4b75a..5a516ba8b 100644 --- a/cloud/gcp/cmd/runtime/README.md +++ b/cloud/gcp/cmd/runtime/README.md @@ -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 diff --git a/cloud/gcp/runtime/gateway/http_test.go b/cloud/gcp/runtime/gateway/http_test.go index 0236b9db0..ae7246a27 100644 --- a/cloud/gcp/runtime/gateway/http_test.go +++ b/cloud/gcp/runtime/gateway/http_test.go @@ -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", }) diff --git a/core/contracts/validate/validate.proto b/core/contracts/validate/validate.proto index 4195ecf9c..6b65ce33e 100644 --- a/core/contracts/validate/validate.proto +++ b/core/contracts/validate/validate.proto @@ -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; @@ -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; @@ -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; diff --git a/core/pkg/proto/deployments/v1/deployments.pb.go b/core/pkg/proto/deployments/v1/deployments.pb.go index dff5f10f3..8db7e77f6 100644 --- a/core/pkg/proto/deployments/v1/deployments.pb.go +++ b/core/pkg/proto/deployments/v1/deployments.pb.go @@ -88,7 +88,7 @@ type ResourceDeploymentStatus int32 const ( // The action hasn't started, usually due to a dependency ResourceDeploymentStatus_PENDING ResourceDeploymentStatus = 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 ResourceDeploymentStatus_IN_PROGRESS ResourceDeploymentStatus = 1 // The action has been applied successfully ResourceDeploymentStatus_SUCCESS ResourceDeploymentStatus = 2 diff --git a/docs/Configuration.md b/docs/Configuration.md index 2a68136e4..0c47964aa 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -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 diff --git a/docs/Operating-Modes.md b/docs/Operating-Modes.md index 81a98b330..89092fe73 100644 --- a/docs/Operating-Modes.md +++ b/docs/Operating-Modes.md @@ -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"` \ No newline at end of file diff --git a/nitric/proto/deployments/v1/deployments.proto b/nitric/proto/deployments/v1/deployments.proto index c63c6e986..30e7e3bde 100644 --- a/nitric/proto/deployments/v1/deployments.proto +++ b/nitric/proto/deployments/v1/deployments.proto @@ -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;