Skip to content

Commit 2b16f96

Browse files
squiggSteve Strugnell
andauthored
Use correct ProfileName in verbose message (#11580)
Co-authored-by: Steve Strugnell <[email protected]>
1 parent b41470a commit 2b16f96

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/TrafficManager/TrafficManager/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Fixed incorrect profile name in `DisableAzureTrafficManagerEndpoint` verbose output
2122

2223
## Version 1.0.3
2324
* Update references in .psd1 to use relative path

src/TrafficManager/TrafficManager/Endpoint/DisableAzureTrafficManagerEndpoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public override void ExecuteCmdlet()
7979
if (disabled)
8080
{
8181
this.WriteVerbose(ProjectResources.Success);
82-
this.WriteVerbose(string.Format(ProjectResources.Success_DisableEndpoint, endpointToDisable.Name, endpointToDisable.Name, endpointToDisable.ResourceGroupName));
82+
this.WriteVerbose(string.Format(ProjectResources.Success_DisableEndpoint, endpointToDisable.Name, endpointToDisable.ProfileName, endpointToDisable.ResourceGroupName));
8383
}
8484

8585
this.WriteObject(disabled);

0 commit comments

Comments
 (0)