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
commit f235adc4d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
}