jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] JCLOUDS-702: JClouds ProfitBricks provider - ComputeServiceAdapter (#145)
Date Tue, 03 Mar 2015 22:20:47 GMT
> +	    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
Mime
View raw message