@@ -121,7 +121,7 @@ func Execute(preflightSpec *troubleshootv1beta2.Preflight, ignorePermissionError
121
121
IgnorePermissionErrors : ignorePermissionErrors ,
122
122
ProgressChan : progressChan ,
123
123
KubernetesRestConfig : restConfig ,
124
- // BundlePath: bundlePath
124
+ BundlePath : bundlePath ,
125
125
}
126
126
127
127
logger .Info ("preflight collect phase" )
@@ -140,7 +140,7 @@ func Execute(preflightSpec *troubleshootv1beta2.Preflight, ignorePermissionError
140
140
collectorResults := collect .CollectorResult (clusterCollectResult .AllCollectedData )
141
141
err = saveTSVersionToBundle (collectorResults , bundlePath )
142
142
if err != nil {
143
- logger .Warnf ("Ignore storing preflight version file: %v" , err )
143
+ logger .Warnf ("Ignore storing troubleshoot version file to preflight bundle : %v" , err )
144
144
}
145
145
146
146
if isPermissionsError (err ) {
@@ -179,7 +179,7 @@ func Execute(preflightSpec *troubleshootv1beta2.Preflight, ignorePermissionError
179
179
uploadPreflightResults .Results = results
180
180
err = saveAnalysisResultsToBundle (collectorResults , analyzeResults , bundlePath )
181
181
if err != nil {
182
- logger .Warnf ("Ignore storing preflight analysis file: %v" , err )
182
+ logger .Warnf ("Ignore storing preflight analysis file to preflight bundle : %v" , err )
183
183
}
184
184
}
185
185
@@ -223,4 +223,4 @@ func saveTSVersionToBundle(results collect.CollectorResult, bundlePath string) e
223
223
}
224
224
225
225
return nil
226
- }
226
+ }
0 commit comments