@@ -42,25 +42,25 @@ export class AcrPullVerifyStep extends AzureWizardExecuteStep<ManagedIdentityReg
4242 return {
4343 item : new GenericTreeItem ( undefined , {
4444 contextValue : createUniversallyUniqueContextValue ( [ 'containerRegistryAcrPullVerifyStepSuccessItem' , activitySuccessContext ] ) ,
45- label : localize ( 'verifyAcrPull' , 'Verify "{0}" access for container environment identity ' , 'acrPull' ) ,
45+ label : localize ( 'verifyAcrPull' , 'Verify "{0}" access on container registry "{1}" ' , 'acrPull' , context . registry ?. name ) ,
4646 iconPath : activitySuccessIcon
4747 } ) ,
48- message : localize ( 'verifyAcrPullSuccess' , 'Successfully verified "{0}" access for container environment identity .' , 'acrPull' ) ,
48+ message : localize ( 'verifyAcrPullSuccess' , 'Successfully verified "{0}" access on container registry "{1}" .' , 'acrPull' , context . registry ?. name ) ,
4949 } ;
5050 } else {
5151 // 'AcrPullEnableStep' will cover showing this output
5252 return { } ;
5353 }
5454 }
5555
56- public createFailOutput ( ) : ExecuteActivityOutput {
56+ public createFailOutput ( context : ManagedIdentityRegistryCredentialsContext ) : ExecuteActivityOutput {
5757 return {
5858 item : new GenericParentTreeItem ( undefined , {
5959 contextValue : createUniversallyUniqueContextValue ( [ 'containerRegistryAcrPullVerifyStepFailItem' , activityFailContext ] ) ,
60- label : localize ( 'verifyAcrPull' , 'Verify "{0}" access for container environment identity" ' , 'acrPull' ) ,
60+ label : localize ( 'verifyAcrPull' , 'Verify "{0}" access on container registry "{1}" ' , 'acrPull' , context . registry ?. name ) ,
6161 iconPath : activityFailIcon
6262 } ) ,
63- message : localize ( 'verifyAcrPullFail' , 'Failed to verify "{0}" access for container environment identity .' , 'acrPull' ) ,
63+ message : localize ( 'verifyAcrPullFail' , 'Failed to verify "{0}" access on container registry "{1}" .' , 'acrPull' , context . registry ?. name ) ,
6464 } ;
6565 }
6666}
0 commit comments