Skip to content

show compare private candidate #233

@denniswa

Description

@denniswa

From terminal1

snc@snc-lab[/]# show compare
         serviceID SU-S003058 sunet-oso {
-           description "TEST9";
+           description "TEST10";
         }
snc@snc-lab[/]# commit local
snc@snc-lab[/]#

From terminal2

snc@snc-lab[/]# set services service1 XXXX serviceID SU-S003058 sunet-oso description TEST11
snc@snc-lab[/]# show compare
         serviceID SU-S003058 sunet-oso {
-           description "TEST9";
+           description "TEST11";
         }
snc@snc-lab[/]# show compare
         serviceID SU-S003058 sunet-oso {
-           description "TEST10";
+           description "TEST11";
         }
snc@snc-lab[/]#

Another case if you run show compare one cli first and then commit in another cli you will see a diff afterwards:

CLI1:
snc@snc-lab[/]# set services service1 XXXX serviceID SU-S003058 sunet-oso description TEST13
snc@snc-lab[/]# commit local
snc@snc-lab[/]#

CLI2:
snc@snc-lab> show compare  <-- this command was run before set in CLI1
snc@snc-lab> show compare
         serviceID SU-S003058 sunet-oso {
-           description "TEST13";
+           description "TEST12";
         }
snc@snc-lab>

the output from second show compare in CLI2 is unexpected

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed: plz verifyBug/feature is fixed by developer, need verification

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions