Fix compile error due to boot 2.0 api change

This commit is contained in:
Spencer Gibb
2018-02-22 14:27:07 -05:00
parent 3b85991842
commit 526e727e8e

View File

@@ -312,7 +312,7 @@ public class Deployer {
if (resource.exists()) {
try {
PropertySource<?> source = new YamlPropertySourceLoader().load(path,
resource, null);
resource, null, this.environment::acceptsProfiles);
if (source != null) {
logger.info("Loaded YAML properties from: " + resource);
}