Cargill / splinter

A privacy-focused distributed platform - start splintering your network into circuits!
Apache License 2.0
106 stars 37 forks source link

Fix circuit and proposal display strings #2042

Closed agunde406 closed 2 years ago

agunde406 commented 2 years ago

This commit fixes the formatting for the display strings used in showing circuit and proposals in the splinter CLI.

They were accidently changed when handle the format_push_string lint added in Rust 1.62

For circuit before output looked like:

Circuit: a3YgC-K98LL
    Display Name: circuit01    
Circuit Status: Active    
Schema Version: 2
    Management Type: test

After it is back to:

Circuit: a3YgC-K98LL
    Display Name: circuit01    
    Circuit Status: Active    
    Schema Version: 2
    Management Type: test

For proposal before output looked like:

Proposal to create: IQIRT-qUo4Z
    Display Name: -
    Circuit Status: Active    
Schema Version: 2
    Management Type: test

After it is back to:

Proposal to create: IQIRT-qUo4Z
    Display Name: -
    Circuit Status: Active    
    Schema Version: 2
    Management Type: test