Merge pull request #101621 from jeremyje/fixfb

GCE Windows: mkdir -p fluent-bit pos-files directory.
This commit is contained in:
Kubernetes Prow Robot
2021-04-30 10:24:39 -07:00
committed by GitHub

View File

@@ -1810,7 +1810,7 @@ function Configure-LoggingAgent {
$PARSERS_CONFIG | Out-File -FilePath $fluentbit_parser_file -Encoding ASCII
# Create directory for all the log position files.
New-Item -Type Directory -Path "/var/run/google-fluentbit/pos-files/"
New-Item -Type Directory -Path "/var/run/google-fluentbit/pos-files/" -Force | Out-Null
Log-Output "Wrote logging config to $fluentbit_parser_file"
}