Commit fbdf4007 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed error in regex

parent 5858691f
...@@ -4,6 +4,10 @@ service: ...@@ -4,6 +4,10 @@ service:
hpa: hpa:
minReplicas: 5 minReplicas: 5
maxReplicas: 25 maxReplicas: 25
podDisruptionBudget:
enabled: true
minAvailable: 3
maxUnavailable: 3
ingress: ingress:
annotations: annotations:
certmanager.k8s.io/cluster-issuer: letsencrypt-prod certmanager.k8s.io/cluster-issuer: letsencrypt-prod
......
...@@ -1390,7 +1390,7 @@ class MetaGer ...@@ -1390,7 +1390,7 @@ class MetaGer
$logEntry .= " key=" . $this->apiKey; $logEntry .= " key=" . $this->apiKey;
$logEntry .= " eingabe=" . $this->eingabe; $logEntry .= " eingabe=" . $this->eingabe;
$logEntry = preg_replace("\n+", " ", $logEntry); $logEntry = preg_replace("/\n+/", " ", $logEntry);
$logpath = \App\MetaGer::getMGLogFile(); $logpath = \App\MetaGer::getMGLogFile();
if (file_put_contents($logpath, $logEntry . PHP_EOL, FILE_APPEND) === false) { if (file_put_contents($logpath, $logEntry . PHP_EOL, FILE_APPEND) === false) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment