Bug #23986
closedRemove warning about missing ()
Description
00:16:13 [WARNING] /srv/****/workspace/dder-plugins_branches_rudder_7.3/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala:152: warning: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method isEnabled,
00:16:13 [WARNING] or remove the empty argument list from its definition (Java-defined methods are exempt).
00:16:13 [WARNING] In Scala 3, an unapplied method like this will be eta-expanded into a function.
00:16:13 [WARNING] pluginStatusService.isEnabled
00:16:13 [WARNING] ^
00:16:13 [WARNING] /srv/****/workspace/dder-plugins_branches_rudder_7.3/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala:162: warning: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method isEnabled,
00:16:13 [WARNING] or remove the empty argument list from its definition (Java-defined methods are exempt).
00:16:13 [WARNING] In Scala 3, an unapplied method like this will be eta-expanded into a function.
00:16:13 [WARNING] override def allowedToUseBackend(name: String): Boolean = pluginStatusService.isEnabled
00:16:13 [WARNING] ^
00:16:31 [ERROR] error: No warnings can be incurred under -Werror.
Updated by François ARMAND 11 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Clark ANDRIANASOLO
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/625
Updated by Anonymous 11 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|906248db38e0166244c4693a6234a588a1d915c1.
Updated by Vincent MEMBRÉ 10 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder plugin auth-backends v8.0.5-2.7
Updated by Vincent MEMBRÉ 10 months ago
This bug has been fixed in Rudder plugin auth-backends v7.3.11-2.7