Github user DaanHoogland commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/700#discussion_r37198072 --- Diff: plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer56FP1Resource.java --- @@ -36,18 +31,10 @@ public class XenServer56FP1Resource extends XenServer56Resource { @Override - protected List<File> getPatchFiles() { - final List<File> files = new ArrayList<File>(); - final String patch = "scripts/vm/hypervisor/xenserver/xenserver56fp1/patch"; - final String patchfilePath = Script.findScript("", patch); - if (patchfilePath == null) { - throw new CloudRuntimeException("Unable to find patch file " + patch); - } - final File file = new File(patchfilePath); - files.add(file); - return files; + protected String getPatchFilePath() { + return "scripts/vm/hypervisor/xenserver/xenserver56fp1/patch"; } - + --- End diff -- "trailing whitespace"
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---