Skip to content

Commit

Permalink
Local build fixes (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Dec 11, 2023
1 parent d4b739a commit 8e8995f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/AspNet/Controllers/WeatherForecastController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public async Task<HttpResponseMessage> PostData()
return result;
}

private static IEnumerable<WeatherForecast> GetWeatherForecast()
private static WeatherForecast[] GetWeatherForecast()
{
var rng = new Random();
return Enumerable.Range(1, 5).Select(index => new WeatherForecast(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

#nullable enable

using System;
using System.Collections.Generic;
using OpenTelemetry.Context.Propagation;
Expand Down

0 comments on commit 8e8995f

Please sign in to comment.