Skip to content

Commit ce3315d

Browse files
committed
Fix ollama docs
1 parent 4b5b34a commit ce3315d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/ollama.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In order to create a new image that contains the model, you can use the followin
2929
And use the new image along with [Image name Substitution](../features/image_name_substitution.md#manual-substitution)
3030

3131
<!--codeinclude-->
32-
[Use new Image](../../modules/ollama/src/test/java/org/testcontainers/ollama/OllamaContainerTest.java) inside_block:containerSubstitute
32+
[Use new Image](../../modules/ollama/src/test/java/org/testcontainers/ollama/OllamaContainerTest.java) inside_block:substitute
3333
<!--/codeinclude-->
3434

3535
## Adding this module to your project dependencies

modules/ollama/src/test/java/org/testcontainers/ollama/OllamaContainerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void downloadModelAndCommitToImage() throws IOException, InterruptedExcep
4444
// }
4545
}
4646
try (
47-
// containerSubstitute {
47+
// substitute {
4848
OllamaContainer ollama = new OllamaContainer(
4949
DockerImageName.parse(newImageName).asCompatibleSubstituteFor("ollama/ollama")
5050
)

0 commit comments

Comments
 (0)