Skip to content

Commit 6f18977

Browse files
authored
update kn func snippet to suggest use of registry flag if not build (#6510)
1 parent f45447f commit 6f18977

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/snippets/proc-running-function.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ The `run` command builds an image for your function if required, and runs this i
3535

3636
=== "kn func"
3737

38-
Run the function locally, by running the command inside the project directory:
38+
Run the function locally, by running the command inside the project directory. If you have not yet built the function you will need to provide the `--registry` flag:
39+
3940

4041
```bash
4142
cd hello
4243
```
4344

4445
```bash
45-
kn func run
46+
kn func run [--registry <registry>]
4647
```
4748

4849
Using this command also builds the function if necessary.

0 commit comments

Comments
 (0)