Merge pull request #4819 from liyue201/master

Delete the duplicate output
This commit is contained in:
Łukasz Magiera 2020-11-12 18:13:51 +01:00 committed by GitHub
commit 28ffa8ca06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,6 @@ var infoCmd = &cli.Command{
fmt.Printf("%s:\n", path.ID)
fmt.Printf("\tWeight: %d; Use: ", path.Weight)
if path.CanSeal || path.CanStore {
fmt.Printf("Weight: %d; Use: ", path.Weight)
if path.CanSeal {
fmt.Print("Seal ")
}