Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
f06068a189
commit
003c3af985
@@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Wouter Born - Add null annotations
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.systeminfo")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.systeminfo")
|
||||
public class SysteminfoDiscoveryService extends AbstractDiscoveryService {
|
||||
public static final String DEFAULT_THING_ID = "unknown";
|
||||
public static final String DEFAULT_THING_LABEL = "Local computer";
|
||||
|
||||
Reference in New Issue
Block a user