Skip to content

Commit 2ea2b63

Browse files
kianmengHeavyWombat
authored andcommitted
Fix typos
Found via `codespell -L te`
1 parent 47f7cfa commit 2ea2b63

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Starting with Go 1.17, you can install `dyff` from source using `go install`:
159159
go install github.com/homeport/dyff/cmd/dyff@latest
160160
```
161161

162-
_Please note:_ This will install `dyff` based on the latest available code base. Even though the goal is that the latest commit on the `main` branch should always be a stable and usable version, this is not the recommended way to install and use `dyff`. If you find an issue with this version, please make sure to note the commit SHA or date in the GitHub issue to indcate that it is not based on a released version. The version output will show `dyff version (development)` for `go install` based builds.
162+
_Please note:_ This will install `dyff` based on the latest available code base. Even though the goal is that the latest commit on the `main` branch should always be a stable and usable version, this is not the recommended way to install and use `dyff`. If you find an issue with this version, please make sure to note the commit SHA or date in the GitHub issue to indicate that it is not based on a released version. The version output will show `dyff version (development)` for `go install` based builds.
163163

164164
## Contributing
165165

assets/bosh-yaml/manifest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ instance_groups:
1515
resource_pool: concourse_resource_pool
1616
networks:
1717
- name: concourse
18-
static_ips: [XX.XX.XX.XX] # ADD THE STATIC IP ADDRESSES FOR YOUR web INSTACES HERE IF APPLICABLE, OTHERWISE DELETE THIS SECTION
18+
static_ips: [XX.XX.XX.XX] # ADD THE STATIC IP ADDRESSES FOR YOUR web INSTANCES HERE IF APPLICABLE, OTHERWISE DELETE THIS SECTION
1919
jobs:
2020
- release: concourse
2121
name: atc
@@ -80,9 +80,9 @@ resource_pools:
8080
- name: concourse_resource_pool
8181
stemcell:
8282
name: bosh-vsphere-esxi-ubuntu-trusty-go_agent # UPDATE ACCORDINGLY WITH THE STEMCELL ID FOR THE TARGETED IaaS
83-
version: '3232.2' # UDPATE ACCORDINGLY WITH THE UPLOADED STEMCELL VERSION
83+
version: '3232.2' # UPDATE ACCORDINGLY WITH THE UPLOADED STEMCELL VERSION
8484
network: concourse
85-
cloud_properties: # UDPATE THIS SECTION ACCORDINGLY BASED ON YOUR VM DEFINITIONS AND CLUSTER INFO
85+
cloud_properties: # UPDATE THIS SECTION ACCORDINGLY BASED ON YOUR VM DEFINITIONS AND CLUSTER INFO
8686
ram: 4096
8787
disk: 32768
8888
cpu: 2
@@ -94,7 +94,7 @@ compilation:
9494
reuse_compilation_vms: true
9595
workers: 3
9696
network: concourse
97-
cloud_properties: # UDPATE THIS SECTION ACCORDINGLY BASED ON YOUR VM DEFINITIONS AND CLUSTER INFO
97+
cloud_properties: # UPDATE THIS SECTION ACCORDINGLY BASED ON YOUR VM DEFINITIONS AND CLUSTER INFO
9898
ram: 4096
9999
disk: 32768
100100
cpu: 2

internal/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func Execute() error {
9999
// Add implicit exclude for metadata.managedFields as this cannot
100100
// be configured via a command-line flag using KUBECTL_EXTERNAL_DIFF
101101
// due to an bug/feature in kubectl that ignore command-line flags
102-
// in the diff environment variable with non alpha-numeric characters
102+
// in the diff environment variable with non alphanumeric characters
103103
reportOptions.excludeRegexps = append(reportOptions.excludeRegexps, "^/metadata/managedFields")
104104
}
105105

pkg/dyff/core_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func compareAgainstExpectedDiffSyntax(fromPath string, toPath string, expectedPa
194194
}
195195

196196
func yml(input string) *yamlv3.Node {
197-
// If input is a file loacation, load this as YAML
197+
// If input is a file location, load this as YAML
198198
if _, err := os.Open(input); err == nil {
199199
var content ytbx.InputFile
200200
var err error

pkg/dyff/output_human.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ func (report *HumanReport) writeStringDiff(output stringWriter, from string, to
382382
del++
383383

384384
case diffmatchpatch.DiffEqual:
385-
// skip eqaul output if requested context is 0 or the equal text is empty
385+
// skip equal output if requested context is 0 or the equal text is empty
386386
if multilineContextLines <= 0 || len(d.Text) == 0 {
387387
continue
388388
}

0 commit comments

Comments
 (0)