File tree 1 file changed +1
-6
lines changed
internal/mode/static/nginx/config
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -115,17 +115,12 @@ func TestGenerate(t *testing.T) {
115
115
g .Expect (files [3 ].Content ).To (Equal ([]byte ("load_module modules/ngx_otel_module.so;" )))
116
116
117
117
g .Expect (files [4 ].Path ).To (Equal ("/etc/nginx/secrets/test-certbundle.crt" ))
118
- certBundle := string (files [3 ].Content )
118
+ certBundle := string (files [4 ].Content )
119
119
g .Expect (certBundle ).To (Equal ("test-cert" ))
120
120
121
- << << << < HEAD
122
121
g .Expect (files [5 ]).To (Equal (file.File {
123
122
Type : file .TypeSecret ,
124
123
Path : "/etc/nginx/secrets/test-keypair.pem" ,
125
124
Content : []byte ("test-cert\n test-key" ),
126
125
}))
127
- == == == =
128
- g .Expect (files [4 ].Path ).To (Equal ("/etc/nginx/module-includes/load-modules.conf" ))
129
- g .Expect (files [4 ].Content ).To (Equal ([]byte ("load_module modules/ngx_otel_module.so;" )))
130
- >> >> >> > dfc23a2 (Code review )
131
126
}
You can’t perform that action at this time.
0 commit comments