Skip to content

Commit

Permalink
Fix typos (#990)
Browse files Browse the repository at this point in the history
Fixes some typos:
- respository -> repository
- overriden -> overridden
  • Loading branch information
hypnoglow authored and alenkacz committed Oct 23, 2019
1 parent 6cde6ed commit 5c323d0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions keps/0015-repository-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ status: provisional
* [Proposal](#proposal)
* [Create Operator Tarball](#create-operator-tarball)
* [Create Repository Index](#create-repository-index)
* [Create Local Respository](#create-local-respository)
* [Create Local Repository](#create-local-repository)
* [Update a Repository](#update-a-repository)
* [CLI Repository Help](#cli-repository-help)
* [User Stories](#user-stories)
Expand Down Expand Up @@ -81,7 +81,7 @@ kubectl kudo package docs/examples/zookeeper/ --destination=new-rep
kubectl kudo repo index new-repo --url https://kudo-repo.storage.googleapis.com
```

### Create Local Respository
### Create Local Repository

For convenience it should be possible to have KUDO start a repository service with a provided path. `kubectl kudo serve --repo-path ./repo` would create a local http service for the repo in `./repo`

Expand Down
2 changes: 1 addition & 1 deletion pkg/kudoctl/clog/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ func Errorf(format string, a ...interface{}) error {
}

func init() {
// expected to be overriden with Init(). This simplifies testing and default behavior
// expected to be overridden with Init(). This simplifies testing and default behavior
logging.out = os.Stdout
}
2 changes: 1 addition & 1 deletion pkg/kudoctl/cmd/repo_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
const (
repoContextDesc = `When using an KUDO operation that requires access to a repository, KUDO needs to know which repository.
This is defined by the "context". 'kubectl kudo repo list' will provide the list of repositories. The "*" next to one of the
names is the current context. 'kubectl kudo repo context local' will change the context to respository named local if it exists.
names is the current context. 'kubectl kudo repo context local' will change the context to repository named local if it exists.
`
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/kudoctl/util/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func ConfigurationFromSettings(fs afero.Fs, home kudohome.Home, repoName string)
config = r.GetConfiguration(repoName)
}
if config == nil {
return nil, fmt.Errorf("unable to find respository for %s", repoName)
return nil, fmt.Errorf("unable to find repository for %s", repoName)
}
return config, nil
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/test/case_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ func TestLoadTestSteps(t *testing.T) {
Errors: []runtime.Object{},
},
{
Name: "name-overriden",
Name: "name-overridden",
Index: 3,
Step: &kudo.TestStep{
ObjectMeta: metav1.ObjectMeta{
Name: "name-overriden",
Name: "name-overridden",
},
TypeMeta: metav1.TypeMeta{
Kind: "TestStep",
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/test_data/with-overrides/03-pod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kudo.dev/v1alpha1
kind: TestStep
metadata:
name: name-overriden
name: name-overridden
---
apiVersion: v1
kind: Pod
Expand Down

0 comments on commit 5c323d0

Please sign in to comment.