> +        }
> +        // Last paranoid check
> +        waitDcUntilAvailable.apply(dataCenterId);
> +
> +        LoginCredentials serverCredentials = LoginCredentials.builder()
> +                .user(loginUser)
> +                .password(password)
> +                .build();
> +        String serverInDataCenterId = 
> DataCenterAndId.fromDataCenterAndId(dataCenterId, serverId).slashEncode();
> +        rebootNode(serverInDataCenterId);
> +        waitServerUntilAvailable.apply(ServerRef.create(dataCenterId, 
> serverId));
> +
> +        try {
> +            Thread.sleep(90000);
> +        } catch (InterruptedException ex) {
> +            
> java.util.logging.Logger.getLogger(ProfitBricksComputeServiceAdapter.class.getName()).log(Level.SEVERE,
>  null, ex);

Use the injected `logger` field

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/292/files/1533bf29a80f2c87834f501abd91ea399debd688#r77744876

Reply via email to