Skip to content

Commit 1c75923

Browse files
author
Yugang Wang
committed
add warning for commands to be removed
1 parent 016d848 commit 1c75923

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ public EnableAzureMemcacheRoleCommand()
7373
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
7474
public override void ExecuteCmdlet()
7575
{
76+
WriteWarning("This cmdlet will be removed in a future release as part of obselating Managed Cache scaffolding support.");
77+
7678
string rootPath = CommonUtilities.GetServiceRootPath(CurrentPath());
7779
RoleName = string.IsNullOrEmpty(RoleName) ? CommonUtilities.GetRoleName(rootPath, CurrentPath()) : RoleName;
7880

src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public AddAzureCacheWorkerRoleCommand()
4949
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
5050
public override void ExecuteCmdlet()
5151
{
52+
WriteWarning("This cmdlet will be removed in a future release as part of obselating Managed Cache scaffolding support.");
5253
AddAzureCacheWorkerRoleProcess(Name, Instances, CommonUtilities.GetServiceRootPath(CurrentPath()));
5354
}
5455

0 commit comments

Comments
 (0)