Skip to content

Commit

Permalink
Fix typos in MQL docs + update spellcheck rules (#3248)
Browse files Browse the repository at this point in the history
Catch some common typos

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Feb 8, 2024
1 parent 688ebb2 commit 74acc40
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 47 deletions.
3 changes: 1 addition & 2 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
aks
atlassian
Auths
autoaccept
Expand Down Expand Up @@ -39,7 +38,6 @@ ipsetreferencestatement
jira
jsonbody
labelmatchstatement
linux
loggingservice
managedrulegroupstatement
managedzone
Expand Down Expand Up @@ -80,6 +78,7 @@ testutils
toplevel
tpu
vdcs
VNIC
Vtpm
vulnerabilityassessmentsettings
vulnmgmt
Expand Down
91 changes: 53 additions & 38 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
\bRedHat\b
\bRedhat\b

# s.b. EuroLinux
\bEurolinux\b
\bEuro Linux\b

# s.b. AlmaLinux
\bAlma Linux\b

Expand Down Expand Up @@ -144,6 +148,9 @@
\bOpenssl\b
\bopenSSL\b

# s.b. CloudBees
\bCloudbees\b

#
# Microsoft Products
#
Expand Down Expand Up @@ -219,6 +226,7 @@

# s.b. CloudFormation
\bCloudformation\b
\bCloud Formation\b

# s.b. CloudFront
\bCloudfront\b
Expand Down Expand Up @@ -284,6 +292,7 @@

# s.b. Fargate
\bFarGate\b
\bFar Gate\b

# s.b. FinSpace
\bFinSpace\b
Expand All @@ -300,6 +309,9 @@
# s.b. Honeycode
\bHoneyCode\b

# s.b. Lambda
\bLamba\b

# s.b. Lightsail
\bLightSail\b

Expand Down Expand Up @@ -334,6 +346,9 @@
# s.b. SiteWise
\bSitewise\b

# s.b. StackSets
\bStacksets\b

# s.b. WorkDocs
\bWorkdocs\b

Expand All @@ -344,75 +359,75 @@
# GCP Products
#

# s.b. Pub/Sub
\bPubSub\b
# s.b. AlloyDB
\bAlloy DB\b

# s.b. Cloud SQL
\bCloudSQL\b
# s.b. AppEngine
\bApp Engine\b

# s.b. BigLake
\bBig Lake\b

# s.b. BigQuery
\bBig Query\b

# s.b. Cloud Build
\bCloudBuild\b
\bCloud build\b

# s.b. Cloud CDN
\bCloudCDN\b

# s.b. Cloud Functions
\bCloud functions\b

# s.b. Vertex AI
\bVertexAI\b
# s.b. Cloud Run
\bCloudRun\b
\bCloud run\b

# s.b. Dialogflow
\bDialogFlow\b
# s.b. Cloud SQL
\bCloudSQL\b

# s.b. Compute Engine
\bComputeEngine\b
\bCompute engine\b

# s.b. Dataplex
\bDataPlex\b

# s.b. BigLake
\bBig Lake\b
# s.b. Datastream
\bDataStream\b
\bData Stream\b

# s.b. AlloyDB
\bAlloy DB\b
# s.b. Dialogflow
\bDialogFlow\b

# s.b. Firestore
\bFireStore\b

# s.b. Datastream
\bDataStream\b
\bData Stream\b
# s.b. gVNIC
\bGVNIC\b

# s.b. Knative
\bKNative\b

# s.b. Memorystore
\bMemoryStore\b
\bMemory Store\b

# s.b. Pub/Sub
\bPubSub\b

# s.b. TensorFlow
\bTensor Flow\b

# s.b. AppEngine
\bApp Engine\b

# s.b. AppEngine
\bApp Engine\b

# s.b. Compute Engine
\bComputeEngine\b
\bCompute engine\b
# s.b. Vertex AI
\bVertexAI\b

# s.b. VMware Engine
\bVMware engine\b
\bVMWare Engine\b

# s.b. Knative
\bKNative\b

# s.b. BigQuery
\bBig Query\b

# s.b. Cloud Build
\bCloudBuild\b
\bCloud build\b

# s.b. Cloud Run
\bCloudRun\b
\bCloud run\b

#
# Azure Products
#
Expand Down
2 changes: 1 addition & 1 deletion providers/arista/resources/arista.lr
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ arista.eos.spt.mstInterface @defaults("name") {
state string
// Cost value for the interface
cost int
// Rort role
// Port role
role string
// Interface inconsistent features
inconsistentFeatures dict
Expand Down
12 changes: 6 additions & 6 deletions providers/gcp/resources/gcp.lr
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ private gcp.project.storageService.bucket @defaults("id") {
// Bucket location type
locationType string
// Project number
projectNumber string
projectNumber string
// Default storage class
storageClass string
// Creation timestamp
Expand Down Expand Up @@ -979,7 +979,7 @@ private gcp.project.sqlService.instance @defaults("name") {
// Instance name
name string
// This is deprecated; use projectId instead.
project string
project string
// Region
region string
// Replicas
Expand Down Expand Up @@ -1064,7 +1064,7 @@ private gcp.project.sqlService.instance.settings {
maintenanceWindow gcp.project.sqlService.instance.settings.maintenanceWindow
// Local user password validation policy
passwordValidationPolicy gcp.project.sqlService.instance.settings.passwordValidationPolicy
// Pricing plan
// Pricing plan
pricingPlan string
// Replication type
replicationType string
Expand Down Expand Up @@ -1652,7 +1652,7 @@ private gcp.project.gkeService.cluster.nodepool.config @defaults("machineType di
gcfsConfig gcp.project.gkeService.cluster.nodepool.config.gcfsConfig
// Advanced features for the Compute Engine VM
advancedMachineFeatures gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures
// GVNIC configuration
// gVNIC configuration
gvnicConfig gcp.project.gkeService.cluster.nodepool.config.gvnicConfig
// Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag
spot bool
Expand Down Expand Up @@ -1750,11 +1750,11 @@ private gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures @
threadsPerCore int
}

// GCP GKE node pool GVNIC configuration
// GCP GKE node pool gVNIC configuration
private gcp.project.gkeService.cluster.nodepool.config.gvnicConfig @defaults("enabled") {
// Internal ID
id string
// Whether to use GVNIC
// Whether to use gVNIC
enabled bool
}

Expand Down

0 comments on commit 74acc40

Please sign in to comment.