From 232e4509291832b10f4576baaf012ff902cc6c00 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 17 Jul 2015 22:16:52 +0100 Subject: [PATCH] Correct user guide env->profile --- docs/src/main/asciidoc/spring-cloud-config.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 1a6c1b5d..0d1a963c 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -497,14 +497,14 @@ an Exception. === Locating Remote Configuration Resources -The Config Service serves property sources from `/{name}/{env}/{label}`, where the default bindings in the client app are +The Config Service serves property sources from `/{name}/{profile}/{label}`, where the default bindings in the client app are * "name" = `${spring.application.name}` -* "env" = `${spring.profiles.active}` (actually `Environment.getActiveProfiles()`) +* "profile" = `${spring.profiles.active}` (actually `Environment.getActiveProfiles()`) * "label" = "master" All of them can be overridden by setting `spring.cloud.config.\*` -(where `*` is "name", "env" or "label"). The "label" is useful for +(where `*` is "name", "profile" or "label"). The "label" is useful for rolling back to previous versions of configuration; with the default Config Server implementation it can be a git label, branch name or commit id. Label can also be provided as a comma-separated list, in