Merge pull request #99793 from pjh/log-message-fix

Repair quotes for some Windows log messages
This commit is contained in:
Kubernetes Prow Robot 2021-03-04 13:39:40 -08:00 committed by GitHub
commit 7c4a9823f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1758,12 +1758,12 @@ function DownloadAndInstall-LoggingAgents {
function Create-LoggingAgentServices {
cd $LOGGINGAGENT_ROOT
Log-Output 'Creating service: ${LOGGINGAGENT_SERVICE}'
Log-Output "Creating service: ${LOGGINGAGENT_SERVICE}"
sc.exe create $LOGGINGAGENT_SERVICE binpath= "${LOGGINGAGENT_ROOT}\bin\fluent-bit.exe -c \fluent-bit\conf\fluent-bit.conf"
sc.exe failure $LOGGINGAGENT_SERVICE reset= 30 actions= restart/5000
Write-VerboseServiceInfoToConsole -Service $LOGGINGAGENT_SERVICE
Log-Output 'Creating service: ${LOGGINGEXPORTER_SERVICE}'
Log-Output "Creating service: ${LOGGINGEXPORTER_SERVICE}"
sc.exe create $LOGGINGEXPORTER_SERVICE binpath= "${LOGGINGEXPORTER_ROOT}\flb-exporter.exe --kubernetes-separator=_ --stackdriver-resource-model=k8s --enable-pod-label-discovery --logtostderr --winsvc --pod-label-dot-replacement=_"
sc.exe failure $LOGGINGEXPORTER_SERVICE reset= 30 actions= restart/5000
Write-VerboseServiceInfoToConsole -Service $LOGGINGEXPORTER_SERVICE