Commit e636c8ea by Jason Song

misc change

parent 03a5783a
## I. Prerequisite
### I.I Mandatory Setup
### I.I Requirements
* Java: 1.7+
### I.II Mandatory Setup
Apollo client requires `AppId` and `Environment` information available to function properly, so please read the following and configure them properly:
#### 1. AppId
......@@ -45,7 +49,7 @@ Currently, `env` allows the following values (case-insensitive):
* UAT
* PRO
### I.II Optional Setup
### I.III Optional Setup
#### Cluster
......
......@@ -14,7 +14,7 @@ public interface ConfigRepository {
/**
* Set the fallback repo for this repository.
* @param upstreamConfigRepository the fallback repo
* @param upstreamConfigRepository the upstream repo
*/
public void setUpstreamRepository(ConfigRepository upstreamConfigRepository);
......
......@@ -227,12 +227,12 @@ public class LocalFileConfigRepository extends AbstractConfigRepository
} catch (IOException ex) {
ApolloConfigException exception =
new ApolloConfigException(
String.format("Create local config directory %s failed", baseDir), ex);
String.format("Create local config directory %s failed", baseDir.getAbsolutePath()), ex);
Cat.logError(exception);
transaction.setStatus(exception);
logger.warn(
"Unable to create local config cache directory {}, reason: {}. Will not able to cache config file.",
baseDir, ExceptionUtil.getDetailMessage(ex));
baseDir.getAbsolutePath(), ExceptionUtil.getDetailMessage(ex));
} finally {
transaction.complete();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment