Skip to content

Commit 915b585

Browse files
committed
Merge pull request #61 from yugangw-msft/gone
Output warnings that Managed Cache scaffolding commands will be removed
2 parents 383c254 + 13e79c2 commit 915b585

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public EnableAzureMemcacheRoleCommand()
7474
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
7575
public override void ExecuteCmdlet()
7676
{
77+
WriteWarning("This cmdlet will be removed in a future release as we are retiring Managed Cache scaffolding support.");
7778
string rootPath = CommonUtilities.GetServiceRootPath(CurrentPath());
7879
RoleName = string.IsNullOrEmpty(RoleName) ? CommonUtilities.GetRoleName(rootPath, CurrentPath()) : RoleName;
7980

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

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

0 commit comments

Comments
 (0)