Skip to content

Commit 411d3f8

Browse files
authored
Merge pull request #3035 from co63oc/fix1
Fix typos
2 parents 4ed1e07 + 7925a96 commit 411d3f8

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

bake/hclparser/gohcl/encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
// The layout of the resulting HCL source is derived from the ordering of
3535
// the struct fields, with blank lines around nested blocks of different types.
3636
// Fields representing attributes should usually precede those representing
37-
// blocks so that the attributes can group togather in the result. For more
37+
// blocks so that the attributes can group together in the result. For more
3838
// control, use the hclwrite API directly.
3939
func EncodeIntoBody(val interface{}, dst *hclwrite.Body) {
4040
rv := reflect.ValueOf(val)

build/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opts map[
622622
// This is fallback for some very old buildkit versions.
623623
// Note that the mediatype isn't really correct as most of the time it is image manifest and
624624
// not manifest list but actually both are handled because for Docker mediatypes the
625-
// mediatype value in the Accpet header does not seem to matter.
625+
// mediatype value in the Accept header does not seem to matter.
626626
s, ok = r.ExporterResponse[exptypes.ExporterImageDigestKey]
627627
if ok {
628628
descs = append(descs, specs.Descriptor{

controller/control/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
type BuildxController interface {
1414
Build(ctx context.Context, options *controllerapi.BuildOptions, in io.ReadCloser, progress progress.Writer) (ref string, resp *client.SolveResponse, inputs *build.Inputs, err error)
1515
// Invoke starts an IO session into the specified process.
16-
// If pid doesn't matche to any running processes, it starts a new process with the specified config.
17-
// If there is no container running or InvokeConfig.Rollback is speicfied, the process will start in a newly created container.
16+
// If pid doesn't match to any running processes, it starts a new process with the specified config.
17+
// If there is no container running or InvokeConfig.Rollback is specified, the process will start in a newly created container.
1818
// NOTE: If needed, in the future, we can split this API into three APIs (NewContainer, NewProcess and Attach).
1919
Invoke(ctx context.Context, ref, pid string, options *controllerapi.InvokeConfig, ioIn io.ReadCloser, ioOut io.WriteCloser, ioErr io.WriteCloser) error
2020
Kill(ctx context.Context) error

controller/processes/processes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (p *Process) Done() <-chan error {
3939
return p.errCh
4040
}
4141

42-
// Manager manages a set of proceses.
42+
// Manager manages a set of processes.
4343
type Manager struct {
4444
container atomic.Value
4545
processes sync.Map

driver/kubernetes/podchooser/podchooser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func ListRunningPods(ctx context.Context, client clientcorev1.PodInterface, depl
9090
for i := range podList.Items {
9191
pod := &podList.Items[i]
9292
if pod.Status.Phase == corev1.PodRunning {
93-
logrus.Debugf("pod runnning: %q", pod.Name)
93+
logrus.Debugf("pod running: %q", pod.Name)
9494
runningPods = append(runningPods, pod)
9595
}
9696
}

0 commit comments

Comments
 (0)