File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ struct Tpm {
123123struct EdgeCA {
124124 cert : Option < String > ,
125125 pk : Option < String > ,
126- method : String ,
127- common_name : String ,
126+ method : Option < String > ,
127+ common_name : Option < String > ,
128128 url : Option < String > ,
129129 bootstrap_identity_cert : Option < String > ,
130130 bootstrap_identity_pk : Option < String > ,
Original file line number Diff line number Diff line change @@ -387,11 +387,11 @@ fn check_set_identity_config_tpm_template() {
387387
388388 assert ! ( std:: fs:: read_to_string( hosts_file_out_path)
389389 . unwrap( )
390- . contains( "127.0.1.1 my -omnect-iot- tpm-device " ) ) ;
390+ . contains( "127.0.1.1 test -omnect-tpm" ) ) ;
391391
392392 assert ! ( std:: fs:: read_to_string( hostname_file_out_path)
393393 . unwrap( )
394- . contains( "my -omnect-iot- tpm-device " ) ) ;
394+ . contains( "test -omnect-tpm" ) ) ;
395395}
396396
397397#[ test]
You can’t perform that action at this time.
0 commit comments