зеркало из https://github.com/golang/build.git
all: fix some comments
Signed-off-by: vitalmotif <zhangshengqiang@outlook.com>
This commit is contained in:
Родитель
8583c1ac15
Коммит
5299254f16
|
@ -142,7 +142,7 @@ to reproduce a rare failure, like so:
|
|||
# Legacy Infrastructure
|
||||
|
||||
Setting the GOMOTEDISABLELUCI environmental variable equal to true will set the gomote client to communicate with
|
||||
the the coordinator instead of the gomote server.
|
||||
the coordinator instead of the gomote server.
|
||||
*/
|
||||
package main
|
||||
|
||||
|
|
|
@ -624,7 +624,7 @@ func init() {
|
|||
}
|
||||
}
|
||||
|
||||
// CosArch defines the diffrent COS images types used.
|
||||
// CosArch defines the different COS images types used.
|
||||
type CosArch string
|
||||
|
||||
const (
|
||||
|
|
|
@ -58,7 +58,7 @@ RUN rm -rf /arm/root/go1.4/api /arm/root/go1.4/blog /arm/root/go1.4/doc /arm/roo
|
|||
RUN find /arm/root/go1.4 -type d -name testdata | xargs rm -rf
|
||||
|
||||
# Install e2fsimage to prepare a root disk without running any
|
||||
# "privilaged" docker operations (i.e. mount).
|
||||
# "privileged" docker operations (i.e. mount).
|
||||
# Building from source because there aren't any Debian packages.
|
||||
ENV IMG_SIZE 1000000 # in KB
|
||||
RUN curl -L -O http://sourceforge.net/projects/e2fsimage/files/e2fsimage/0.2.2/e2fsimage-0.2.2.tar.gz
|
||||
|
|
|
@ -321,7 +321,7 @@ semver_compare() {
|
|||
fi
|
||||
fi
|
||||
|
||||
# if we're here we know that the target verison cannot be less than or equal to
|
||||
# if we're here we know that the target version cannot be less than or equal to
|
||||
# our current version, therefore we upgrade
|
||||
|
||||
echo -1 && return 0
|
||||
|
|
|
@ -533,7 +533,7 @@ func (f *fakeEC2BuildletClient) StartNewVM(ctx context.Context, buildEnv *builde
|
|||
return nil, errors.New("TLS keypair is not set")
|
||||
}
|
||||
if buildEnv == nil {
|
||||
return nil, errors.New("invalid build enviornment")
|
||||
return nil, errors.New("invalid build environment")
|
||||
}
|
||||
if hconf == nil {
|
||||
return nil, errors.New("invalid host configuration")
|
||||
|
|
Загрузка…
Ссылка в новой задаче