Skip to content

Commit 4c32ea5

Browse files
ikanniikanni
authored andcommitted
Fixed comment
1 parent 3532db3 commit 4c32ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Automation/Automation/Common/AutomationPSClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ public Connection UpdateConnectionFieldValue(string resourceGroupName, string au
12101210

12111211
if (connectionModel.FieldDefinitionValues.ContainsKey(connectionFieldName))
12121212
{
1213-
if (value.GetType().FullName == "System.String")
1213+
if (value is string)
12141214
{
12151215
connectionModel.FieldDefinitionValues[connectionFieldName] = value.ToString();
12161216
}

0 commit comments

Comments
 (0)