Skip to content

Commit 8f997db

Browse files
committed
change function name from decrypt to deserialize
1 parent a496c36 commit 8f997db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ServiceManagement/Automation/Commands.Automation/Common/PowershellJsonConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static class PowershellJsonConverter
1616
private const string PsCommandParamInputObject = "InputObject";
1717
private const string PsCommandParamDepth = "Depth";
1818

19-
public static PSObject Decrypt(string json)
19+
public static PSObject Deserialize(string json)
2020
{
2121
if (String.IsNullOrEmpty(json))
2222
{

src/ServiceManagement/Automation/Commands.Automation/Model/Variable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public Variable(AutomationManagement.Models.Variable variable, string automation
4646
}
4747
else
4848
{
49-
this.Value = PowershellJsonConverter.Decrypt(variable.Properties.Value);
49+
this.Value = PowershellJsonConverter.Deserialize(variable.Properties.Value);
5050
}
5151

5252
this.Description = variable.Properties.Description;

0 commit comments

Comments
 (0)