Skip to content

Commit 1d27242

Browse files
committed
rebase
1 parent 54d9f9a commit 1d27242

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

cluster/gce/windows/configure.ps1

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,18 +127,16 @@ try {
127127
StartProcess-WriteSshKeys
128128
}
129129

130-
# Even if Stackdriver is already installed, the function will still [re]start the service.
131-
if (IsLoggingEnabled $kube_env) {
132-
InstallAndStart-LoggingAgent
133-
}
134-
135130
Set-EnvironmentVars
136131
Create-Directories
137132
Download-HelperScripts
138133

139-
Install-LoggingAgent
140-
Configure-LoggingAgent
141-
Restart-LoggingAgent
134+
# Even if Stackdriver is already installed, the function will still [re]start the service.
135+
if (IsLoggingEnabled $kube_env) {
136+
Install-LoggingAgent
137+
Configure-LoggingAgent
138+
Restart-LoggingAgent
139+
}
142140

143141
Create-DockerRegistryKey
144142
Configure-Dockerd

0 commit comments

Comments
 (0)