Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 373f5a9

Browse files
committed
Change Varnish 4 to 5 as test
1 parent 03092a1 commit 373f5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Adminhtml/Report/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function updateVarnishConfiguration()
204204
$environment_name = $this->state->getEnvironmentName();
205205

206206
/** Extract the generated Varnish 4 VCL code */
207-
$vcl = $this->pageCacheConfig->getVclFile(\Magento\PageCache\Model\Config::VARNISH_4_CONFIGURATION_PATH);
207+
$vcl = $this->pageCacheConfig->getVclFile(\Magento\PageCache\Model\Config::VARNISH_5_CONFIGURATION_PATH);
208208
$result = $this->aperture->updateProxyConfiguration($account_id, $application_id, $environment_name, 'varnish', $vcl, 'MagentoTurpentine');
209209

210210
if ($result['http_code'] == 200) {

0 commit comments

Comments
 (0)