Skip to content

Commit

Permalink
Don't include attested ID in the status string
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Mar 7, 2024
1 parent a666a9d commit 99afb97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ func (p *Status) Print() string {
if p.Witness != nil {
status.WriteString(fmt.Sprintf("Witness/Identity ...........: %v\n", p.Witness.Identity))
status.WriteString(fmt.Sprintf("Witness/IP .................: %v\n", p.Witness.IP))
status.WriteString(fmt.Sprintf("Witness/AttestationKey .....: %v\n", p.Witness.IDAttestPublicKey))
status.WriteString(fmt.Sprintf("Witness/AttestedID .........:\n%v", p.Witness.AttestedID))
status.WriteString(fmt.Sprintf("Witness/AttestationKey .....: %v", p.Witness.IDAttestPublicKey))
} else {
status.WriteString(fmt.Sprint("Witness ....................: <no status>"))
}
Expand Down

0 comments on commit 99afb97

Please sign in to comment.