Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/main/java/jenkins/plugins/openstack/Eucalyptus.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//
//import hudson.Extension;
//import hudson.util.FormValidation;
//import hudson.util.IOException2;
//
//import java.io.IOException;
//import java.net.MalformedURLException;
Expand Down Expand Up @@ -135,11 +134,11 @@
// this.ec2endpoint = readURLFromMetadata(metadata, "ec2");
// this.s3endpoint = readURLFromMetadata(metadata, "s3");
// } catch (DocumentException e) {
// throw new IOException2("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// throw new IOException("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// } catch (IOException e) {
// throw new IOException2("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// throw new IOException("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// } catch (GeneralSecurityException e) {
// throw new IOException2("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// throw new IOException("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// }
// }
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import hudson.Extension;
import hudson.util.FormValidation;
import hudson.util.IOException2;

import java.io.IOException;
import java.net.MalformedURLException;
Expand Down Expand Up @@ -34,7 +33,7 @@
/**
* OpenStack standard cloud
* TODO: Merge into OpenstackCloud
*
*
*/
public class StandardOpenstackCloud extends OpenstackCloud {
@DataBoundConstructor
Expand Down Expand Up @@ -116,11 +115,11 @@ public String getDisplayName() {
// this.ec2endpoint = readURLFromMetadata(metadata, "ec2");
// this.s3endpoint = readURLFromMetadata(metadata, "s3");
// } catch (DocumentException e) {
// throw new IOException2("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// throw new IOException("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// } catch (IOException e) {
// throw new IOException2("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// throw new IOException("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// } catch (GeneralSecurityException e) {
// throw new IOException2("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// throw new IOException("Failed to parse Eucalyptus metadata at "+metadataUrl,e);
// }
// }
//
Expand Down