Skip to content

Commit

Permalink
docs: clarify behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
DDtKey committed Jul 6, 2024
1 parent ee7630b commit d207f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testcontainers/src/core/image/image_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ pub trait ImageExt<I: Image> {
/// Sets the startup timeout for the container. The default is 60 seconds.
fn with_startup_timeout(self, timeout: Duration) -> ContainerRequest<I>;

/// Sets the log consumer for the container.
/// Adds the log consumer to the container.
///
/// Allows to follow the container logs for the whole lifecycle of the container.
/// Allows to follow the container logs for the whole lifecycle of the container, starting from the creation.
fn with_log_consumer(self, log_consumer: impl LogConsumer + 'static) -> ContainerRequest<I>;
}

Expand Down

0 comments on commit d207f09

Please sign in to comment.