Skip to content

Commit f773611

Browse files
authored
* spelling: aardvark, alerts, aligns, already, application, assert, asynchronously, authentication, because, between, buildpack, buildpacks, canonical, conceptualize, confirming, connection, constructors, containing, controller, correctly, coverage, default, delete, dereferencing, describing, directory, displayed, displays, error, errors, example, executable, exist, existence, exists, explicit, extra, failure, forces, garbage, github, ignored, improperly, incur, information, input, inputted, intensity, interaction, intercept, interpolate, into, invalid, language, languages, laying-out, lifecycle, look, message, mismatch, multiple, nonexistent, nonexistenttld, not, nowhere, occurs, organization, original, output, overridden, packages, parameter, plugins, preexisting, pseudo, receive, repository, request, resource, response, retrieving, rhinoceros, running, security, selector, separate, separator, space, specified, successfully, superfluous, targeting, the, timeout, translatable, unknown, unlimited, unshare, utilities, version Signed-off-by: Josh Soref <[email protected]>
1 parent af96bc2 commit f773611

File tree

133 files changed

+356
-356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+356
-356
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Explain why this functionality should be in the cf CLI, as opposed to a plugin.
3131

3232
## Applicable Issues
3333

34-
List any applicable Github Issues here
34+
List any applicable GitHub Issues here
3535

3636
## How Urgent Is The Change?
3737

.github/workflows/build-sign-upload.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
echo "golang version: ${go_version[1]}"
5555
echo "::set-output name=go-version::${go_version[1]}"
5656
57-
# This is for debugging. It's equivalent to fly intecept
57+
# This is for debugging. It's equivalent to fly intercept
5858
# - name: Setup upterm session
5959
# env:
6060
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -789,12 +789,12 @@ jobs:
789789
mv cf-cli-windows-binaries/cf-cli_winx64.exe winx64/cf8.exe
790790
pushd win32
791791
prepare_win_artifacts
792-
# -y flag avoids the default behavior of derefencing the link, so we archive the symlink as-is
792+
# -y flag avoids the default behavior of dereferencing the link, so we archive the symlink as-is
793793
zip -y cf8-cli_${INSTALLER_RELEASE_VERSION}_win32.zip *
794794
popd
795795
pushd winx64
796796
prepare_win_artifacts
797-
# -y flag avoids the default behavior of derefencing the link, so we archive the symlink as-is
797+
# -y flag avoids the default behavior of dereferencing the link, so we archive the symlink as-is
798798
zip -y cf8-cli_${INSTALLER_RELEASE_VERSION}_winx64.zip *
799799
popd
800800
popd

actor/actionerror/app_not_found_in_manifest_error.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ type AppNotFoundInManifestError struct {
77
}
88

99
func (e AppNotFoundInManifestError) Error() string {
10-
return fmt.Sprintf("specfied app: %s not found in manifest", e.Name)
10+
return fmt.Sprintf("specified app: %s not found in manifest", e.Name)
1111
}

actor/actionerror/no_eligible_packages_error.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func (e NoEligiblePackagesError) Error() string {
1212
case e.AppName != "":
1313
return fmt.Sprintf("App '%s' has no eligible packages.", e.AppName)
1414
default:
15-
return fmt.Sprintf("No eligible pacakges available for app.")
15+
return fmt.Sprintf("No eligible packages available for app.")
1616
}
1717

1818
}

actor/pluginaction/plugin_repository_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ var _ = Describe("Plugin Repository Actions", func() {
104104
})
105105
})
106106

107-
When("the repository name is the same and repostiroy URL is the same except for trailing slash", func() {
107+
When("the repository name is the same and repository URL is the same except for trailing slash", func() {
108108
BeforeEach(func() {
109109
fakeConfig.PluginRepositoriesReturns([]configv3.PluginRepository{
110110
{

actor/pluginaction/uninstall_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ var _ = Describe("Plugin actor", func() {
5555
})
5656

5757
It("returns a PluginNotFoundError", func() {
58-
err := actor.UninstallPlugin(fakePluginUninstaller, "some-non-existent-plugin")
59-
Expect(err).To(MatchError(actionerror.PluginNotFoundError{PluginName: "some-non-existent-plugin"}))
58+
err := actor.UninstallPlugin(fakePluginUninstaller, "some-nonexistent-plugin")
59+
Expect(err).To(MatchError(actionerror.PluginNotFoundError{PluginName: "some-nonexistent-plugin"}))
6060
})
6161
})
6262

actor/v7action/application_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ var _ = Describe("Application Actions", func() {
286286
})
287287

288288
It("returns an ApplicationNotFoundError and the warnings", func() {
289-
_, warnings, err := actor.GetApplicationsByGUIDs([]string{"some-app-guid", "non-existent-app-guid"})
289+
_, warnings, err := actor.GetApplicationsByGUIDs([]string{"some-app-guid", "nonexistent-app-guid"})
290290
Expect(warnings).To(ConsistOf("some-warning"))
291291
Expect(err).To(MatchError(actionerror.ApplicationsNotFoundError{}))
292292
})

actor/v7action/buildpack_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var _ = Describe("Buildpack", func() {
120120
nil)
121121
})
122122

123-
It("returns warnings and a BuilpackNotFoundError", func() {
123+
It("returns warnings and a BuildpackNotFoundError", func() {
124124
Expect(executeErr).To(MatchError(actionerror.BuildpackNotFoundError{BuildpackName: buildpackName, StackName: buildpackStack}))
125125
Expect(warnings).To(ConsistOf("some-warning-1", "some-warning-2"))
126126
})
@@ -319,7 +319,7 @@ var _ = Describe("Buildpack", func() {
319319

320320
Describe("UpdateBuildpackByNameAndStack", func() {
321321
var (
322-
buildpackName = "my-buidpack"
322+
buildpackName = "my-buildpack"
323323
buildpackStack = "my-stack"
324324
buildpack = resources.Buildpack{
325325
Stack: "new-stack",

actor/v7action/domain_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ var _ = Describe("Domain Actions", func() {
572572
BeforeEach(func() {
573573
fakeCloudControllerClient.UnsharePrivateDomainFromOrgReturns(
574574
ccv3.Warnings{"unshare-domain-warning"},
575-
errors.New("unsahre-domain-error"),
575+
errors.New("unshare-domain-error"),
576576
)
577577
})
578578

@@ -582,7 +582,7 @@ var _ = Describe("Domain Actions", func() {
582582
Expect(actualDomainGUID).To(Equal("private-domain-guid"))
583583
Expect(actualOrgGUID).To(Equal("org-guid"))
584584

585-
Expect(executeErr).To(MatchError(errors.New("unsahre-domain-error")))
585+
Expect(executeErr).To(MatchError(errors.New("unshare-domain-error")))
586586
Expect(warnings).To(ConsistOf("get-orgs-warning", "get-domains-warning", "unshare-domain-warning"))
587587
})
588588
})

actor/v7action/isolation_segment_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ var _ = Describe("Isolation Segment Actions", func() {
711711
})
712712
})
713713

714-
When("fetching the resourece fails", func() {
714+
When("fetching the resource fails", func() {
715715
BeforeEach(func() {
716716
fakeCloudControllerClient.GetOrganizationDefaultIsolationSegmentReturns(
717717
resources.Relationship{},

actor/v7action/package_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ var _ = Describe("Package Actions", func() {
617617

618618
Expect(tableWarnings).To(ConsistOf("some-app-warning", "some-package-warning", "upload-package-warning", "poll-package-warning", "poll-package-warning"))
619619

620-
// hacky, get packages is called an extry time cause the
620+
// hacky, get packages is called an extra time cause the
621621
// JustBeforeEach executes everything once as well
622622
Expect(fakeCloudControllerClient.GetPackageCallCount()).To(Equal(3))
623623
Expect(fakeConfig.PollingIntervalCallCount()).To(Equal(3))

actor/v7action/security_group_test.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ var _ = Describe("Security Group Actions", func() {
697697
)
698698
})
699699

700-
It("makes mutiple calls to get spaces", func() {
700+
It("makes multiple calls to get spaces", func() {
701701
Expect(len(securityGroupSummaries)).To(Equal(1))
702702
Expect(fakeCloudControllerClient.GetSpacesCallCount()).To(Equal(batches))
703703
Expect(fakeCloudControllerClient.GetSpacesArgsForCall(0)).
@@ -1038,7 +1038,7 @@ var _ = Describe("Security Group Actions", func() {
10381038
})
10391039
})
10401040

1041-
When("the seurity group is not bound to the space", func() {
1041+
When("the security group is not bound to the space", func() {
10421042
BeforeEach(func() {
10431043
fakeCloudControllerClient.UnbindSecurityGroupStagingSpaceReturns(
10441044
ccv3.Warnings{"get-security-group-warning"},
@@ -1240,15 +1240,15 @@ var _ = Describe("Security Group Actions", func() {
12401240
var (
12411241
securityGroupName = "tom"
12421242
globallyEnabled bool
1243-
lifeycle constant.SecurityGroupLifecycle
1243+
lifecycle constant.SecurityGroupLifecycle
12441244
executeErr error
12451245

12461246
trueValue = true
12471247
falseValue = false
12481248
)
12491249

12501250
JustBeforeEach(func() {
1251-
warnings, executeErr = actor.UpdateSecurityGroupGloballyEnabled(securityGroupName, lifeycle, globallyEnabled)
1251+
warnings, executeErr = actor.UpdateSecurityGroupGloballyEnabled(securityGroupName, lifecycle, globallyEnabled)
12521252
})
12531253

12541254
When("the request succeeds", func() {
@@ -1273,7 +1273,7 @@ var _ = Describe("Security Group Actions", func() {
12731273

12741274
When("updating staging to true", func() {
12751275
BeforeEach(func() {
1276-
lifeycle = constant.SecurityGroupLifecycleStaging
1276+
lifecycle = constant.SecurityGroupLifecycleStaging
12771277
globallyEnabled = true
12781278
})
12791279

@@ -1298,7 +1298,7 @@ var _ = Describe("Security Group Actions", func() {
12981298

12991299
When("updating staging to false", func() {
13001300
BeforeEach(func() {
1301-
lifeycle = constant.SecurityGroupLifecycleStaging
1301+
lifecycle = constant.SecurityGroupLifecycleStaging
13021302
globallyEnabled = false
13031303
})
13041304

@@ -1323,7 +1323,7 @@ var _ = Describe("Security Group Actions", func() {
13231323

13241324
When("updating running to true", func() {
13251325
BeforeEach(func() {
1326-
lifeycle = constant.SecurityGroupLifecycleRunning
1326+
lifecycle = constant.SecurityGroupLifecycleRunning
13271327
globallyEnabled = true
13281328
})
13291329

@@ -1348,7 +1348,7 @@ var _ = Describe("Security Group Actions", func() {
13481348

13491349
When("updating running to false", func() {
13501350
BeforeEach(func() {
1351-
lifeycle = constant.SecurityGroupLifecycleRunning
1351+
lifecycle = constant.SecurityGroupLifecycleRunning
13521352
globallyEnabled = false
13531353
})
13541354

@@ -1374,7 +1374,7 @@ var _ = Describe("Security Group Actions", func() {
13741374

13751375
When("the request to get the security group errors", func() {
13761376
BeforeEach(func() {
1377-
lifeycle = constant.SecurityGroupLifecycleRunning
1377+
lifecycle = constant.SecurityGroupLifecycleRunning
13781378
globallyEnabled = false
13791379

13801380
fakeCloudControllerClient.GetSecurityGroupsReturns(
@@ -1398,7 +1398,7 @@ var _ = Describe("Security Group Actions", func() {
13981398

13991399
When("the request to update the security group errors", func() {
14001400
BeforeEach(func() {
1401-
lifeycle = constant.SecurityGroupLifecycleRunning
1401+
lifecycle = constant.SecurityGroupLifecycleRunning
14021402
globallyEnabled = false
14031403

14041404
fakeCloudControllerClient.GetSecurityGroupsReturns(

actor/v7action/stack_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ var _ = Describe("Stack", func() {
157157
Expect(warnings).To(ConsistOf("some-stack-warning"))
158158
Expect(fakeCloudControllerClient.GetStacksCallCount()).To(Equal(1))
159159
})
160-
When("a label selctor is passed in", func() {
160+
When("a label selector is passed in", func() {
161161
BeforeEach(func() {
162162
labelSelector = "some-label-selector"
163163
})

actor/v7action/task.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (actor Actor) RunTask(appGUID string, task resources.Task) (resources.Task,
2525
}
2626

2727
// GetApplicationTasks returns a list of tasks associated with the provided
28-
// appplication GUID.
28+
// application GUID.
2929
func (actor Actor) GetApplicationTasks(appGUID string, sortOrder SortOrder) ([]resources.Task, Warnings, error) {
3030
tasks, warnings, err := actor.CloudControllerClient.GetApplicationTasks(appGUID)
3131
actorWarnings := Warnings(warnings)

actor/v7pushaction/handle_app_path_override_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ var _ = Describe("HandleAppPathOverride", func() {
143143
parsedManifest = manifestparser.Manifest{
144144
Applications: []manifestparser.Application{
145145
{
146-
Path: "some-non-existent-path",
146+
Path: "some-nonexistent-path",
147147
},
148148
},
149149
}
150150
})
151151

152152
It("returns an error", func() {
153153
Expect(executeErr).To(MatchError(manifestparser.InvalidManifestApplicationPathError{
154-
Path: "some-non-existent-path",
154+
Path: "some-nonexistent-path",
155155
}))
156156
})
157157
})

actor/v7pushaction/handle_default_route_override_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
. "github.com/onsi/gomega"
1010
)
1111

12-
var _ = Describe("HandleDefualtRouteOverride", func() {
12+
var _ = Describe("HandleDefaultRouteOverride", func() {
1313
var (
1414
originalManifest manifestparser.Manifest
1515
transformedManifest manifestparser.Manifest
@@ -57,8 +57,8 @@ var _ = Describe("HandleDefualtRouteOverride", func() {
5757

5858
})
5959

60-
// CLI doesnt know about the routes field but CAPI ignores defualt route if routes is specified
61-
// so we are ok adding defualt route even with the presence of a routes field
60+
// CLI doesnt know about the routes field but CAPI ignores default route if routes is specified
61+
// so we are ok adding default route even with the presence of a routes field
6262

6363
When("the manifest has no routing fields", func() {
6464
BeforeEach(func() {

actor/v7pushaction/handle_stack_override_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var _ = Describe("HandleStackOverride", func() {
3737
}
3838
})
3939

40-
It("will retain the origional stack value", func() {
40+
It("will retain the original stack value", func() {
4141
Expect(executeErr).To(Not(HaveOccurred()))
4242
Expect(transformedManifest.Applications[0].Stack).To(Equal("og_cflinuxfs"))
4343
})

api/cloudcontroller/ccv3/internal/routing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// Params map path keys to values. For example, if your route has the path
1313
// pattern:
1414
// /person/:person_id/pets/:pet_type
15-
// Then a correct Params map would lool like:
15+
// Then a correct Params map would look like:
1616
// router.Params{
1717
// "person_id": "123",
1818
// "pet_type": "cats",

api/cloudcontroller/connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Package cloudcontroller contains shared utilies between the V2 and V3
1+
// Package cloudcontroller contains shared utilities between the V2 and V3
22
// clients.
33
//
44
// These sets of packages are still under development/pre-pre-pre...alpha. Use

api/cloudcontroller/wrapper/request_logger_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ var _ = Describe("Request Logger", func() {
171171
})
172172
})
173173

174-
When("an error occures while trying to log the request", func() {
174+
When("an error occurs while trying to log the request", func() {
175175
var expectedErr error
176176

177177
BeforeEach(func() {
@@ -348,7 +348,7 @@ var _ = Describe("Request Logger", func() {
348348
})
349349
})
350350

351-
When("an error occures while trying to log the response", func() {
351+
When("an error occurs while trying to log the response", func() {
352352
var (
353353
originalErr error
354354
expectedErr error

api/plugin/wrapper/request_logger_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ var _ = Describe("Request Logger", func() {
160160
})
161161
})
162162

163-
When("an error occures while trying to log the request", func() {
163+
When("an error occurs while trying to log the request", func() {
164164
var expectedErr error
165165

166166
BeforeEach(func() {
@@ -373,7 +373,7 @@ var _ = Describe("Request Logger", func() {
373373
})
374374
})
375375

376-
When("an error occures while trying to log the response", func() {
376+
When("an error occurs while trying to log the response", func() {
377377
var (
378378
originalErr error
379379
expectedErr error

api/router/wrapper/request_logger_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ var _ = Describe("Request Logger", func() {
171171
})
172172
})
173173

174-
When("an error occures while trying to log the request", func() {
174+
When("an error occurs while trying to log the request", func() {
175175
var expectedErr error
176176

177177
BeforeEach(func() {
@@ -305,7 +305,7 @@ var _ = Describe("Request Logger", func() {
305305
})
306306
})
307307

308-
When("an error occures while trying to log the response", func() {
308+
When("an error occurs while trying to log the response", func() {
309309
var (
310310
originalErr error
311311
expectedErr error

api/uaa/client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var _ = Describe("UAA Client", func() {
5151
})
5252
})
5353

54-
Describe("Conection", func() {
54+
Describe("Connection", func() {
5555
BeforeEach(func() {
5656
server.AppendHandlers(
5757
CombineHandlers(

api/uaa/errors.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (e RequestError) Error() string {
5252
return e.Err.Error()
5353
}
5454

55-
// UnauthorizedError is returned when the authentication informatin is invalid.
55+
// UnauthorizedError is returned when the authentication information is invalid.
5656
type UnauthorizedError struct {
5757
Message string
5858
}
@@ -80,7 +80,7 @@ func (e InsufficientScopeError) Error() string {
8080
return e.Message
8181
}
8282

83-
// InvalidSCIMResourceError is returned usually when the client tries to create an inproperly formatted username
83+
// InvalidSCIMResourceError is returned usually when the client tries to create an improperly formatted username
8484
type InvalidSCIMResourceError struct {
8585
Message string
8686
}

api/uaa/internal/routing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// Params map path keys to values. For example, if your route has the path
1313
// pattern:
1414
// /person/:person_id/pets/:pet_type
15-
// Then a correct Params map would lool like:
15+
// Then a correct Params map would look like:
1616
// router.Params{
1717
// "person_id": "123",
1818
// "pet_type": "cats",

0 commit comments

Comments
 (0)