Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ public interface RestartContainerCmd extends SyncDockerCmd<Void> {

RestartContainerCmd withContainerId(@Nonnull String containerId);

RestartContainerCmd withtTimeout(Integer timeout);
/**
* @deprecated wrong name, use {@link #withTimeout(Integer)}
*/
@Deprecated
default RestartContainerCmd withtTimeout(Integer timeout) {
return withTimeout(timeout);
}

RestartContainerCmd withTimeout(Integer timeout);

/**
* @throws NotFoundException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public RestartContainerCmd withContainerId(String containerId) {
}

@Override
public RestartContainerCmd withtTimeout(Integer timeout) {
public RestartContainerCmd withTimeout(Integer timeout) {
checkNotNull(timeout, "timeout was not specified");
checkArgument(timeout >= 0, "timeout must be greater or equal 0");
this.timeout = timeout;
Expand Down