We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb99ea1 + edfad5b commit 5902e9eCopy full SHA for 5902e9e
container/client.go
@@ -132,10 +132,9 @@ func (client dockerClient) StartContainer(c Container) error {
132
}
133
134
func (client dockerClient) RenameContainer(c Container, newName string) error {
135
+ bg := context.Background()
136
log.Debugf("Renaming container %s (%s) to %s", c.Name(), c.ID(), newName)
- //return client.api.ContainerRename(c.ID(), newName)
137
- // no op
138
- return nil
+ return client.api.ContainerRename(bg, c.ID(), newName)
139
140
141
func (client dockerClient) IsContainerStale(c Container) (bool, error) {
0 commit comments