mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-17 16:37:46 +08:00
Fix typos
Signed-off-by: co63oc <co63oc@users.noreply.github.com>
This commit is contained in:
parent
8efc528b84
commit
7659798f80
@ -21,7 +21,7 @@
|
|||||||
- [Verify essential information](#verify-essential-information)
|
- [Verify essential information](#verify-essential-information)
|
||||||
- [Classify the issue](#classify-the-issue)
|
- [Classify the issue](#classify-the-issue)
|
||||||
- [Prioritization guidelines for `kind/bug`](#prioritization-guidelines-for-kindbug)
|
- [Prioritization guidelines for `kind/bug`](#prioritization-guidelines-for-kindbug)
|
||||||
- [Issue lifecyle](#issue-lifecyle)
|
- [Issue lifecycle](#issue-lifecycle)
|
||||||
- [Examples](#examples)
|
- [Examples](#examples)
|
||||||
- [Submitting a bug](#submitting-a-bug)
|
- [Submitting a bug](#submitting-a-bug)
|
||||||
- [Pull request review process](#pull-request-review-process)
|
- [Pull request review process](#pull-request-review-process)
|
||||||
@ -308,7 +308,7 @@ Examples:
|
|||||||
- Bugs in non-default configurations
|
- Bugs in non-default configurations
|
||||||
- Most enhancements
|
- Most enhancements
|
||||||
|
|
||||||
## Issue lifecyle
|
## Issue lifecycle
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart LR
|
flowchart LR
|
||||||
|
@ -944,7 +944,7 @@ $ docker buildx build --secret [type=file,]id=<ID>[,src=<FILEPATH>] .
|
|||||||
###### `type=file` usage
|
###### `type=file` usage
|
||||||
|
|
||||||
In the following example, `type=file` is automatically detected because no
|
In the following example, `type=file` is automatically detected because no
|
||||||
environment variable mathing `aws` (the ID) is set.
|
environment variable matching `aws` (the ID) is set.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker buildx build --secret id=aws,src=$HOME/.aws/credentials .
|
$ docker buildx build --secret id=aws,src=$HOME/.aws/credentials .
|
||||||
|
@ -28,7 +28,7 @@ type Driver struct {
|
|||||||
*tlsOpts
|
*tlsOpts
|
||||||
defaultLoad bool
|
defaultLoad bool
|
||||||
|
|
||||||
// remote driver caches the client because its Bootstap/Info methods reuse it internally
|
// remote driver caches the client because its Bootstrap/Info methods reuse it internally
|
||||||
clientOnce sync.Once
|
clientOnce sync.Once
|
||||||
client *client.Client
|
client *client.Client
|
||||||
err error
|
err error
|
||||||
|
@ -202,7 +202,7 @@ func ParseAttests(in []string) ([]*controllerapi.Attest, error) {
|
|||||||
func ConvertAttests(in []*Attest) ([]*controllerapi.Attest, error) {
|
func ConvertAttests(in []*Attest) ([]*controllerapi.Attest, error) {
|
||||||
out := make([]*controllerapi.Attest, 0, len(in))
|
out := make([]*controllerapi.Attest, 0, len(in))
|
||||||
|
|
||||||
// Check for dupplicate attestations while we convert them
|
// Check for duplicate attestations while we convert them
|
||||||
// to the controller API.
|
// to the controller API.
|
||||||
found := map[string]struct{}{}
|
found := map[string]struct{}{}
|
||||||
for _, attest := range in {
|
for _, attest := range in {
|
||||||
|
@ -189,7 +189,7 @@ func TestMuxIO(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type instruction func(m *MuxIO) (intput string, writeBackView string)
|
type instruction func(m *MuxIO) (input string, writeBackView string)
|
||||||
|
|
||||||
func input(s string) instruction {
|
func input(s string) instruction {
|
||||||
return func(m *MuxIO) (string, string) {
|
return func(m *MuxIO) (string, string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user