Ignore empty identifiers
This commit is contained in:
parent
005c0f8f14
commit
78a2273a47
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ func (d *dumper) Dump(name string, v interface{}) {
|
|||
if v, ok := v.(api.Identifier); ok {
|
||||
if id, err := v.Identify(); err != nil {
|
||||
fmt.Fprintf(w, "Identifier:\t%v\n", err)
|
||||
} else {
|
||||
} else if id != "" {
|
||||
fmt.Fprintf(w, "Identifier:\t%s\n", id)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue