Skip to content

Commit ac27a52

Browse files
committed
address more comments
1 parent 6461173 commit ac27a52

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cleanup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ func NewTerminateOptions(ctx context.Context, opts ...TerminateOption) *Terminat
3232
return options
3333
}
3434

35-
// Context returns the context to use duration a Terminate.
35+
// Context returns the context to use during a Terminate.
3636
func (o *TerminateOptions) Context() context.Context {
3737
return o.ctx
3838
}
3939

40-
// StopTimeout returns the stop timeout to use duration a Terminate.
40+
// StopTimeout returns the stop timeout to use during a Terminate.
4141
func (o *TerminateOptions) StopTimeout() *time.Duration {
4242
return o.stopTimeout
4343
}

docker_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,7 @@ func TestContainerCreationWithVolumeCleaning(t *testing.T) {
11201120
{
11211121
HostFilePath: absPath,
11221122
ContainerFilePath: "/hello.sh",
1123+
FileMode: 700,
11231124
},
11241125
},
11251126
Mounts: Mounts(VolumeMount(volumeName, "/data")),

0 commit comments

Comments
 (0)