Skip to content

Commit 22648ec

Browse files
committed
Remove .json from ping path
1 parent 0f02a84 commit 22648ec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/kubernetes/production/deployment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ spec:
3535
memory: 2Gi
3636
readinessProbe:
3737
httpGet:
38-
path: /ping.json
38+
path: /ping
3939
port: 9292
4040
initialDelaySeconds: 5
4141
periodSeconds: 10
4242
livenessProbe:
4343
httpGet:
44-
path: /ping.json
44+
path: /ping
4545
port: 9292
4646
initialDelaySeconds: 15
4747
periodSeconds: 10

config/kubernetes/staging/deployment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ spec:
3535
memory: 2Gi
3636
readinessProbe:
3737
httpGet:
38-
path: /ping.json
38+
path: /ping
3939
port: 9292
4040
initialDelaySeconds: 5
4141
periodSeconds: 10
4242
livenessProbe:
4343
httpGet:
44-
path: /ping.json
44+
path: /ping
4545
port: 9292
4646
initialDelaySeconds: 15
4747
periodSeconds: 10

spec/root_app_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def app
1919
end
2020
end
2121

22-
context "when GET /ping.json route is called" do
22+
context "when GET /ping route is called" do
2323
before do
24-
get "/ping.json"
24+
get "/ping"
2525
end
2626

2727
it "returns 200" do

0 commit comments

Comments
 (0)