Skip to content

Commit 17b02c5

Browse files
committed
fix: ignore Sonar-reported issue
1 parent 3b7b59b commit 17b02c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sample-operators/mysql-schema/src/main/java/io/javaoperatorsdk/operator/sample/MySQLSchemaReconciler.java

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public void injectInto(EventSourceContext context) {
8181
@Override
8282
public void initContext(MySQLSchema primary, Context context) {
8383
final var name = primary.getMetadata().getName();
84+
// NOSONAR we don't need cryptographically-strong randomness here
8485
final var password = RandomStringUtils.randomAlphanumeric(16);
8586
final var secretName = String.format(SECRET_FORMAT, name);
8687
final var userName = String.format(USERNAME_FORMAT, name);

0 commit comments

Comments
 (0)