-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
in this method https://github.com/apache/incubator-openwhisk/blob/37ce9b86048dafb0f369a5a5b05caa0136a26ef4/tests/src/test/scala/common/WhiskProperties.java#L297 there's a missing null check:
public static File getVCAPServicesFile() {
String vcapServices = whiskProperties.getProperty("vcap.services.file");
if (vcapServices.startsWith(File.separator)) {
return new File(vcapServices);
} else {
return WhiskProperties.getFileRelativeToWhiskHome(vcapServices);
}
}
@jasonpet the vcap property does not appear to be used anymore in this repo:
(per git blame f9b4f48) is this used in the providers only now - if so i'm wondering if we can move it this code out.