> + return NodeMetadata.Status.RUNNING;
> + case BLOCKED:
> + return NodeMetadata.Status.PENDING;
> + case CRASHED:
> + return NodeMetadata.Status.ERROR;
> + default:
> + return NodeMetadata.Status.UNRECOGNIZED;
> + }
> + }
> +
> + static OperatingSystem mapOsType(OsType osType) {
> + OperatingSystem os = OperatingSystem.builder()
> + .description(OsFamily.UNRECOGNIZED.value())
> + .family(OsFamily.UNRECOGNIZED)
> + .build();
> + if (os != null)
This is never null at this point.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/145/files#r25733139