Skip to content

Commit

Permalink
[inspect] update inspect command a little
Browse files Browse the repository at this point in the history
don't print errors, re-order the INFO column reading
  • Loading branch information
okay committed Mar 8, 2020
1 parent 9b5f409 commit 72ef6cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cmd/cmd_inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ func decodeInfoCol(digest_file *string) bool {
err := dec.Decode(&info)

if err != nil {
sybil.Print("ERROR", err)
return false
}

sybil.Print("INFO COL", info)
sybil.Print("BLOCK INFO", info)

return true

Expand Down Expand Up @@ -108,17 +107,18 @@ func RunInspectCmdLine() {
return
}

if decodeIngestFile(digest_file) {
if decodeTableInfo(digest_file) {
return
}

if decodeTableInfo(digest_file) {
if decodeInfoCol(digest_file) {
return
}

if decodeInfoCol(digest_file) {
if decodeIngestFile(digest_file) {
return
}

if decodeStrCol(digest_file) {
return
}
Expand Down

0 comments on commit 72ef6cb

Please sign in to comment.