Skip to content

Commit 2b140d0

Browse files
mfulblavarou
andauthored
Update daemon/internal/newrelic/integration/test.go
Co-authored-by: Michal Nowacki <[email protected]>
1 parent 786a5f9 commit 2b140d0

File tree

1 file changed

+3
-4
lines changed
  • daemon/internal/newrelic/integration

1 file changed

+3
-4
lines changed

daemon/internal/newrelic/integration/test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@ func (t *Test) MakeRun(ctx *Context) (Tx, error) {
266266
// Make a copy of t.PhpModules and remove any entries containing "opcache.so"
267267
// if opcache.so is loaded by default
268268
//
269-
// three cases:
270-
// 1. C test - no opcache.so needed as PHP is not going to be run
271-
// 2. Web test and php-cgi has opcache.so loaded by default - remove any PHPMODULE spec for opcache.so
272-
// 3. PHP test and php has opcache.so loaded by default - remove any PHPMODULE spec for opcache.so
269+
// two cases:
270+
// 1. Web test and php-cgi has opcache.so loaded by default - remove any PHPMODULE spec for opcache.so
271+
// 2. PHP test and php has opcache.so loaded by default - remove any PHPMODULE spec for opcache.so
273272
phpModulesCopy := make(map[string]string)
274273
if (t.IsWeb() && ctx.OPCacheModuleLoaded[ctx.CGI]) ||
275274
(ctx.OPCacheModuleLoaded[ctx.PHP]) {

0 commit comments

Comments
 (0)