You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace deprecated io/ioutil with modern os/io equivalents
Replaces all ioutil.ReadFile, WriteFile, ReadDir, TempDir, TempFile,
ReadAll and Discard calls with their Go 1.16+ replacements in os and io
packages. Also removes deprecated rand.Seed(time.Now().UnixNano()) from
randomString() (deprecated since Go 1.20) and removes the now-unused
time import.
Expect(buffer.String()).To(ContainSubstring("Warning: access logging is turned off in your nginx.conf file, this may make your app difficult to debug."))
262
261
})
263
262
264
263
It("logs a warning when access logging is set to off", func() {
Expect(buffer.String()).To(ContainSubstring("Warning: access logging is turned off in your nginx.conf file, this may make your app difficult to debug."))
268
267
})
269
268
270
269
It("logs a warning when access logging is set to off with extra spaces", func() {
Expect(buffer.String()).To(ContainSubstring("Warning: access logging is turned off in your nginx.conf file, this may make your app difficult to debug."))
274
273
})
275
274
276
275
It("logs a warning when access logging is set to OFF", func() {
Expect(buffer.String()).To(ContainSubstring("Warning: access logging is turned off in your nginx.conf file, this may make your app difficult to debug."))
280
279
})
281
280
282
281
It("logs a warning when access logging is set to a path", func() {
Expect(buffer.String()).ToNot(ContainSubstring("Warning: access logging is turned off in your nginx.conf file, this may make your app difficult to debug."))
0 commit comments