Skip to content

Commit 5d8cf39

Browse files
committed
fixup! Make e2e node log collection more self-sufficient
1 parent 24d1f4a commit 5d8cf39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/azure_logcollector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func collectVMSSLog(ctx context.Context, cluster *clusterv1.Cluster, subscriptio
248248
instance.Properties == nil ||
249249
instance.Properties.OSProfile == nil ||
250250
instance.Properties.OSProfile.ComputerName == nil {
251-
errs = append(errs, fmt.Errorf("Instance of VMSS %s in resource group %s has no computer name, can't collect logs via SSH", name, resourceGroup))
251+
errs = append(errs, fmt.Errorf("instance of VMSS %s in resource group %s has no computer name, can't collect logs via SSH", name, resourceGroup))
252252
} else {
253253
hostname = *instance.Properties.OSProfile.ComputerName
254254
if err := collectLogsFromNode(cluster, hostname, isWindows, filepath.Join(outputPath, hostname)); err != nil {

0 commit comments

Comments
 (0)