Skip to content

Commit ab7792a

Browse files
mucsi96ForestEckhardt
authored andcommitted
use string value for port
1 parent 231b50a commit ab7792a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configuration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func testConfiguration(t *testing.T, context spec.G, it spec.S) {
5252
WebServerEnablePushState: true,
5353
WebServerRoot: "some-root",
5454
WebServerLocationPath: "some-location-path",
55-
NGINXStubStatusPort: 8083,
55+
NGINXStubStatusPort: "8083",
5656
}))
5757
})
5858

default_config_generator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ error_log stderr;
314314
it("writes an nginx.conf that conditionally includes the stub_status module for basic status information", func() {
315315
err := generator.Generate(nginx.Configuration{
316316
NGINXConfLocation: filepath.Join(workingDir, "nginx.conf"),
317-
NGINXStubStatusPort: 8083,
317+
NGINXStubStatusPort: "8083",
318318
WebServerRoot: "./public",
319319
})
320320
Expect(err).NotTo(HaveOccurred())

0 commit comments

Comments
 (0)