Skip to content

Commit

Permalink
fix typos, fix DefaultGeneratorManager test, add licence license header
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Krutko <alexander.krutko@gmail.com>
  • Loading branch information
arsenalzp authored and rohanKanojia committed Sep 3, 2024
1 parent 87e1e8a commit dcf8ee7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
/*
* Copyright (c) 2019 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at:
*
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
*/

package org.eclipse.jkube.kit.common;

import java.net.URL;
import java.util.Properties;

import lombok.Getter;
import lombok.Setter;

public class PropertiesExtender extends Properties {
@Getter
@Setter
private URL propertiesFile;

public void setPropertiesFile(URL file) {
this.propertiesFile = file;
}

public URL getPropertiesFile() {
return this.propertiesFile;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private List<ImageConfiguration> generateImages(List<ImageConfiguration> imageCo
if (generator.isApplicable(ret)) {
log.info("Running generator %s", generator.getName());
ret = generator.customize(ret, genCtx.isPrePackagePhase());
log.info("The following properties file is used %s", genCtx.getProject().getPropertiesFile());
log.info("The following properties file are used %s", genCtx.getProject().getPropertiesFile());
}
}
return ret;
Expand Down

0 comments on commit dcf8ee7

Please sign in to comment.