Skip to content

Commit 9a48339

Browse files
committed
Address review comments
Signed-off-by: Hui Luo <[email protected]>
1 parent e585cee commit 9a48339

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (a Artifact) Save(ctx context.Context, path string) (bool, error) {
5555
data, err := a.GetData(ctx)
5656

5757
if err != nil {
58-
return false, errors.New("no Data received, not saving file")
58+
return false, errors.New("No data received, not saving file")
5959
}
6060

6161
if _, err = os.Stat(path); err == nil {

build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (b *Build) GetConsoleOutputFromIndex(ctx context.Context, startID int64) (c
268268
}
269269

270270
func (b *Build) GetCauses(ctx context.Context) ([]map[string]interface{}, error) {
271-
_, err := b.Poll(ctx, 3)
271+
_, err := b.Poll(ctx)
272272
if err != nil {
273273
return nil, err
274274
}

0 commit comments

Comments
 (0)