Skip to content

Commit

Permalink
fix misleading description in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsymhoven committed May 21, 2021
1 parent 96b1bc2 commit a0a2763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ factory.

##### One Instance Of One Portlet

Normally, one plugin delivers one portlet. The id has A minimal example could look as follows:
Normally, one plugin delivers one portlet. A minimal example could look as follows:

```java
import io.jenkins.plugins.monitoring.MonitorPortlet;
Expand Down Expand Up @@ -246,7 +246,7 @@ The factory can also deliver several portlets of one class.

> ⚠️ WARNING: **Unique portlet ID**:
> The id must be unique. Please make sure that the id is related to the plugin so that there are no conflicts with
> other plugins. It is recommended to use the artifact id of the plugin or parts of it as suffix.
> other plugins. It is recommended to use the artifact id of the plugin or parts of it as prefix.
> If several portlets of the same class are created in the factory, it must be ensured that the ID is always unique
> for each portlet!
Expand Down

0 comments on commit a0a2763

Please sign in to comment.