This was on the wrong place

This commit is contained in:
2025-01-06 18:29:45 +00:00
parent 38e7ea32cc
commit 45a0aa43aa
+4 -5
View File
@@ -161,15 +161,14 @@ func Init(f Reader, exportTelem string, exportYAML string) (*IBT, error) {
log.Fatal(err)
}
// Write to YAML output file
if exportYAML != "" {
ibt.exportYAML(exportYAML)
}
ibt.SessionInfo, err = parseSessionInfo(sessionInfoStringRaw, ibt.Headers.SessionInfoLength)
if err != nil {
return nil, fmt.Errorf("Unable to parse SessionInfoString from file: %v", err)
}
// Write to YAML output file
if exportYAML != "" {
ibt.exportYAML(exportYAML)
}
// Read the telemetry vars info
err = ibt.readVariablerHeaders()