Skip to content

Commit

Permalink
[release/9.0.2xx] allow reading all mcr image names (#45906)
Browse files Browse the repository at this point in the history
Co-authored-by: Chet Husk <chusk3@gmail.com>
  • Loading branch information
github-actions[bot] and baronfel authored Jan 15, 2025
1 parent 5bb08f9 commit 6bb87ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ private bool ComputeRepositoryAndTag([NotNullWhen(true)] out string? repository,
};
}

private bool UserImageIsMicrosoftBaseImage => UserBaseImage?.StartsWith("mcr.microsoft.com/dotnet") ?? false;
private bool UserImageIsMicrosoftBaseImage => UserBaseImage?.StartsWith("mcr.microsoft.com/") ?? false;

private void LogNoInferencePerformedTelemetry()
{
// we should only log the base image, tag, containerFamily if we _know_ they are .NET's MCR images
// we should only log the base image, tag, containerFamily if we _know_ they are MCR images
string? userBaseImage = null;
string? userTag = null;
string? containerFamily = null;
Expand Down

0 comments on commit 6bb87ba

Please sign in to comment.