Skip to content

Commit b9022fc

Browse files
authored
Merge pull request #193 from jrevillas/patch-1
Update raw-example.js to use template strings
2 parents 90957cb + 09c4cc0 commit b9022fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/raw-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ kc.loadFromDefault();
77
const opts = {};
88
kc.applyToRequest(opts);
99

10-
request.get(kc.getCurrentCluster().server + '/api/v1/namespaces/default/pods', opts,
10+
request.get(`${kc.getCurrentCluster().server}/api/v1/namespaces/default/pods`, opts,
1111
(error, response, body) => {
1212
if (error) {
1313
console.log(`error: ${error}`);

0 commit comments

Comments
 (0)