Skip to content

Commit

Permalink
Add comment explaining introducing container ID as param
Browse files Browse the repository at this point in the history
  • Loading branch information
amitds1997 committed Jan 2, 2024
1 parent 568bb15 commit 499813a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/docker/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ import (

type DockerHelper struct {
DockerCommand string
ContainerID string
// for a running container, we cannot pass down the container ID to the driver without introducing
// changes in the driver interface. To get around this limitation, we pass it down to the driver
// during docker helper initialization.
ContainerID string
// allow command to have a custom environment
Environment []string
}
Expand Down

0 comments on commit 499813a

Please sign in to comment.