@@ -541,31 +541,31 @@ public Task PublishUpdateAsync(IResource resource, string resourceId, Func<Custo
541
541
"ResourceType = {ResourceType}, " +
542
542
"CreationTimeStamp = {CreationTimeStamp:s}, " +
543
543
"State = {{ Text = {StateText}, Style = {StateStyle} }}, " +
544
+ "IsHidden = {IsHidden}, " +
544
545
"HeathStatus = {HealthStatus}, " +
545
546
"ResourceReady = {ResourceReady}, " +
546
547
"ExitCode = {ExitCode}, " +
547
548
"Urls = {{ {Urls} }}, " +
548
549
"EnvironmentVariables = {{ {EnvironmentVariables} }}, " +
549
550
"Properties = {{ {Properties} }}, " +
550
551
"HealthReports = {{ {HealthReports} }}, " +
551
- "Commands = {{ {Commands} }}, " +
552
- "IsHidden = {{ {IsHidden} }}" ,
552
+ "Commands = {{ {Commands} }}" ,
553
553
newState . Version ,
554
554
resource . Name ,
555
555
resourceId ,
556
556
newState . ResourceType ,
557
557
newState . CreationTimeStamp ,
558
558
newState . State ? . Text ,
559
559
newState . State ? . Style ,
560
+ newState . IsHidden ,
560
561
newState . HealthStatus ,
561
562
newState . ResourceReadyEvent is not null ,
562
563
newState . ExitCode ,
563
564
string . Join ( " " , newState . Urls . Select ( u => $ "{ u . Name } = { u . Url } ") ) ,
564
565
string . Join ( " " , newState . EnvironmentVariables . Where ( e => e . IsFromSpec ) . Select ( e => $ "{ e . Name } = { e . Value } ") ) ,
565
566
string . Join ( " " , newState . Properties . Select ( p => $ "{ p . Name } = { Stringify ( p . Value ) } ") ) ,
566
567
string . Join ( " " , newState . HealthReports . Select ( p => $ "{ p . Name } = { Stringify ( p . Status ) } ") ) ,
567
- string . Join ( " " , newState . Commands . Select ( c => $ "{ c . DisplayName } ({ c . Name } ) = { Stringify ( c . State ) } ") ) ,
568
- newState . IsHidden ) ;
568
+ string . Join ( " " , newState . Commands . Select ( c => $ "{ c . Name } ({ c . DisplayName } ) = { Stringify ( c . State ) } ") ) ) ;
569
569
570
570
static string Stringify ( object ? o ) => o switch
571
571
{
0 commit comments