Skip to content

Commit b41f962

Browse files
authored
fix: fix toi doc (#1196)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it The command doc for ocm toi-bootstrapping shows the wrong type for the reference to a TOI executor. #### Which issue(s) this PR fixes Fixes [#339](open-component-model/ocm-project#339)
1 parent 0db6053 commit b41f962

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmds/ocm/topics/toi/bootstrapping/topic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ to executors. It uses the following fields:
172172
the executor will be used for all actions. The first matching executor entry
173173
will be used to execute an action by the bootstrap command
174174
175-
- **<code>resourceRef</code>** *[]ResourceReference*
175+
- **<code>resourceRef</code>** *ResourceReference*
176176
177177
An OCM resource reference describing a component version resource relative to
178178
the component version containing the package resource.

docs/reference/ocm_toi-bootstrapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ to executors. It uses the following fields:
113113
the executor will be used for all actions. The first matching executor entry
114114
will be used to execute an action by the bootstrap command
115115

116-
- **<code>resourceRef</code>** *[]ResourceReference*
116+
- **<code>resourceRef</code>** *ResourceReference*
117117

118118
An OCM resource reference describing a component version resource relative to
119119
the component version containing the package resource.

0 commit comments

Comments
 (0)