Skip to content

Commit a503f90

Browse files
committed
Escape } in string.Format
1 parent c9ab5f7 commit a503f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Chef/SetAzureVMChefExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ private void SetPublicConfig()
246246
}
247247
else
248248
{
249-
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}",
249+
this.PublicConfiguration = string.Format("{{{0},{1},{2},{3},{4}}}",
250250
string.Format(AutoUpdateTemplate, AutoUpdateChefClient),
251251
string.Format(DeleteChefConfigTemplate, DeleteChefConfig),
252252
string.Format(ClientRbTemplate, ClientConfig),

0 commit comments

Comments
 (0)