Skip to content
Snippets Groups Projects
Commit 6877fc50 authored by Rob Vaterlaus's avatar Rob Vaterlaus
Browse files

Don't treat it as an error of the file pointed to by the HA-related rolepath property doesn't exist

parent d02522ca
No related branches found
No related tags found
No related merge requests found
......@@ -1708,7 +1708,11 @@ public class Controller implements IFloodlightProviderService,
roleString = properties.getProperty("floodlight.role");
}
catch (IOException exc) {
log.error("Error reading current role value from file: {}", rolePath);
// Don't treat it as an error if the file specified by the
// rolepath property doesn't exist. This lets us enable the
// HA mechanism by just creating/setting the floodlight.role
// property in that file without having to modify the
// floodlight properties.
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment