This was on the wrong place
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user