Skip to content

Commit

Permalink
Rename ConvertToJobContainer to ConvertToContainer
Browse files Browse the repository at this point in the history
It converts serviceContainers too
  • Loading branch information
fhammerl committed Oct 31, 2022
1 parent 0632e07 commit ffc62f8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
Expand Down Expand Up @@ -233,7 +233,7 @@ internal static ContainerRegistryCredentials ConvertToContainerCredentials(Templ
return result;
}

internal static JobContainer ConvertToJobContainer(
internal static JobContainer ConvertToContainer(
TemplateContext context,
TemplateToken value,
bool allowExpressions = false)
Expand Down Expand Up @@ -340,7 +340,7 @@ internal static List<KeyValuePair<String, JobContainer>> ConvertToJobServiceCont
foreach (var servicePair in servicesMapping)
{
var networkAlias = servicePair.Key.AssertString("services key").Value;
var container = ConvertToJobContainer(context, servicePair.Value);
var container = ConvertToContainer(context, servicePair.Value);
result.Add(new KeyValuePair<String, JobContainer>(networkAlias, container));
}

Expand Down

0 comments on commit ffc62f8

Please sign in to comment.