Skip to content

Commit 4ea3ba7

Browse files
authored
Merge pull request docker#9559 from venthur/fix_spell
fixed some spelling mistakes
2 parents bec4ea4 + 8a5d555 commit 4ea3ba7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cmd/compose/ps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ SERVICES:
140140
}
141141

142142
return formatter.Print(containers, opts.Format, os.Stdout,
143-
writter(containers),
143+
writer(containers),
144144
"NAME", "COMMAND", "SERVICE", "STATUS", "PORTS")
145145
}
146146

147-
func writter(containers []api.ContainerSummary) func(w io.Writer) {
147+
func writer(containers []api.ContainerSummary) func(w io.Writer) {
148148
return func(w io.Writer) {
149149
for _, container := range containers {
150150
ports := displayablePorts(container)

pkg/compose/dependencies.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func getParents(v *Vertex) []*Vertex {
132132
return v.GetParents()
133133
}
134134

135-
// GetParents returns a slice with the parent vertexes of the a Vertex
135+
// GetParents returns a slice with the parent vertices of the a Vertex
136136
func (v *Vertex) GetParents() []*Vertex {
137137
var res []*Vertex
138138
for _, p := range v.Parents {
@@ -145,7 +145,7 @@ func getChildren(v *Vertex) []*Vertex {
145145
return v.GetChildren()
146146
}
147147

148-
// GetChildren returns a slice with the child vertexes of the a Vertex
148+
// GetChildren returns a slice with the child vertices of the a Vertex
149149
func (v *Vertex) GetChildren() []*Vertex {
150150
var res []*Vertex
151151
for _, p := range v.Children {
@@ -194,7 +194,7 @@ func (g *Graph) AddVertex(key string, service string, initialStatus ServiceStatu
194194
g.Vertices[key] = v
195195
}
196196

197-
// AddEdge adds a relationship of dependency between vertexes `source` and `destination`
197+
// AddEdge adds a relationship of dependency between vertices `source` and `destination`
198198
func (g *Graph) AddEdge(source string, destination string) error {
199199
g.lock.Lock()
200200
defer g.lock.Unlock()

pkg/e2e/framework.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ func Lines(output string) []string {
347347
}
348348

349349
// HTTPGetWithRetry performs an HTTP GET on an `endpoint`, using retryDelay also as a request timeout.
350-
// In the case of an error or the response status is not the expeted one, it retries the same request,
350+
// In the case of an error or the response status is not the expected one, it retries the same request,
351351
// returning the response body as a string (empty if we could not reach it)
352352
func HTTPGetWithRetry(t testing.TB, endpoint string, expectedStatus int, retryDelay time.Duration, timeout time.Duration) string {
353353
var (

0 commit comments

Comments
 (0)