> +// Storage.creatingBuilder()
> +// .dataCenterId( template.getLocation().getId() ) // VDC
> id
> +// .mountImageId( template.getImage().getId() )
> +// .size( totalSize.longValue() )
> +// .build() );
> +//
> +// if ( storageId != null ) {
> +// // TODO This will fail. PB takes time to initialize
> storage, so this call may return a HTTP 500, Resource not found
> +// VersionResponse version =
> pbApi.storageApi().connectStorageToServer(
> +// Storage.connectingBuilder()
> +// .serverId( createdServerId )
> +// .storageId( storageId )
> +// .build() );
> +// version.getDataCenterId();
> +// }
> +// }
Can this commented code be removed? Or should it be uncommented?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r17228821