Skip to content

Commit

Permalink
remove find infra
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLove-msft committed Feb 28, 2024
1 parent 9b13620 commit d0311a5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions sdk/provisioning/Azure.Provisioning/src/Construct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,6 @@ private string GetEnvironmentName()
return _environmentName is null ? Scope!.EnvironmentName : _environmentName;
}

/// <summary>
///
/// </summary>
/// <returns></returns>
internal Infrastructure? FindInfrastructure()
{
if (this is Infrastructure infrastructure)
{
return infrastructure;
}
return ((Construct?)Scope)?.FindInfrastructure();
}

/// <summary>
/// Registers an existing resource with this construct that will be used by other resources in the construct.
/// </summary>
Expand Down

0 comments on commit d0311a5

Please sign in to comment.