Skip to content

Commit b5351d4

Browse files
committed
fix sample data function invocation examples
1 parent 75e6205 commit b5351d4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

sample-data/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Some sample data for a node app which is bound to a mongodb service.
4242
"OLDPWD": "/home/vcap"
4343
}
4444

45-
## `cf-env.getCore()`
45+
## `cfenv.getAppEnv()`
4646

4747
{
4848
"app": {
@@ -103,10 +103,11 @@ Some sample data for a node app which is bound to a mongodb service.
103103
"urls": [
104104
"https://<cf-host>.<cf-domain>"
105105
],
106-
"url": "https://<cf-host>.<cf-domain>"
106+
"url": "https://<cf-host>.<cf-domain>",
107+
"isLocal": false
107108
}
108109

109-
## `cf-env.getServices`
110+
## `appEnv.getServices()`
110111

111112
{
112113
"my-db": {

0 commit comments

Comments
 (0)