You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2020/12/07 06:23:37 UTC
[trafficserver-ingress-controller] branch master updated: Correct
lgtm comments (#67)
This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 1b8ae8c Correct lgtm comments (#67)
1b8ae8c is described below
commit 1b8ae8ccc949cd372ca90fef664f9aa2d916f18a
Author: Kit Chan <ki...@apache.org>
AuthorDate: Sun Dec 6 22:23:28 2020 -0800
Correct lgtm comments (#67)
* Fix lgtm comments
* Fix lgtm comments
---
k8s/images/node-app-1/server.js | 12 ++++++------
k8s/images/node-app-2/server.js | 8 ++++----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/k8s/images/node-app-1/server.js b/k8s/images/node-app-1/server.js
index 4179bba..5223414 100644
--- a/k8s/images/node-app-1/server.js
+++ b/k8s/images/node-app-1/server.js
@@ -24,16 +24,16 @@ app.get('/', (req, res) => {
res.send('Hello world\n');
});
-app.get('/test', (req, res) => {
- res.sendFile('hello.html', {root: __dirname }); // lgtm[js/missing-rate-limiting]
+app.get('/test', (req, res) => { // lgtm[js/missing-rate-limiting]
+ res.sendFile('hello.html', {root: __dirname });
})
-app.get('/app1', (req, res) => {
- res.sendFile('hello.html', {root: __dirname }); // lgtm[js/missing-rate-limiting]
+app.get('/app1', (req, res) => { // lgtm[js/missing-rate-limiting]
+ res.sendFile('hello.html', {root: __dirname });
})
-app.get('/app2', (req, res) => {
- res.sendFile('hello-updated.html', {root: __dirname }); // lgtm[js/missing-rate-limiting]
+app.get('/app2', (req, res) => { // lgtm[js/missing-rate-limiting]
+ res.sendFile('hello-updated.html', {root: __dirname });
})
diff --git a/k8s/images/node-app-2/server.js b/k8s/images/node-app-2/server.js
index 3accc2e..4bb8142 100644
--- a/k8s/images/node-app-2/server.js
+++ b/k8s/images/node-app-2/server.js
@@ -24,12 +24,12 @@ app.get('/', (req, res) => {
res.send('Hello world\n');
});
-app.get('/test', (req, res) => {
- res.sendFile('hello.html', {root: __dirname }); // lgtm[js/missing-rate-limiting]
+app.get('/test', (req, res) => { // lgtm[js/missing-rate-limiting]
+ res.sendFile('hello.html', {root: __dirname });
})
-app.get('/app2', (req, res) => {
- res.sendFile('hello.html', {root: __dirname }); // lgtm[js/missing-rate-limiting]
+app.get('/app2', (req, res) => { // lgtm[js/missing-rate-limiting]
+ res.sendFile('hello.html', {root: __dirname });
})
app.listen(PORT, HOST);