Skip to content

Commit

Permalink
fix: issue retrieving api runtime url (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
davemooreuws authored Dec 9, 2024
1 parent 587eff8 commit 0ab9a90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cloud/aws/runtime/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type AwsApiGatewayProvider struct {

var _ apispb.ApiServer = &AwsApiGatewayProvider{}

func (a *AwsApiGatewayProvider) Details(ctx context.Context, req *apispb.ApiDetailsRequest) (*apispb.ApiDetailsResponse, error) {
func (a *AwsApiGatewayProvider) ApiDetails(ctx context.Context, req *apispb.ApiDetailsRequest) (*apispb.ApiDetailsResponse, error) {
gwDetails, err := a.resolver.GetAWSApiGatewayDetails(ctx, &resourcespb.ResourceIdentifier{
Type: resourcespb.ResourceType_Api,
Name: req.ApiName,
Expand Down
2 changes: 1 addition & 1 deletion cloud/azure/runtime/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type AzureApiGatewayProvider struct {

var _ apispb.ApiServer = &AzureApiGatewayProvider{}

func (g *AzureApiGatewayProvider) Details(ctx context.Context, req *apispb.ApiDetailsRequest) (*apispb.ApiDetailsResponse, error) {
func (g *AzureApiGatewayProvider) ApiDetails(ctx context.Context, req *apispb.ApiDetailsRequest) (*apispb.ApiDetailsResponse, error) {
gwDetails, err := g.provider.GetApiDetails(ctx, req.ApiName)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion cloud/gcp/runtime/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type GcpApiGatewayProvider struct {

var _ apispb.ApiServer = &GcpApiGatewayProvider{}

func (g *GcpApiGatewayProvider) Details(ctx context.Context, req *apispb.ApiDetailsRequest) (*apispb.ApiDetailsResponse, error) {
func (g *GcpApiGatewayProvider) ApiDetails(ctx context.Context, req *apispb.ApiDetailsRequest) (*apispb.ApiDetailsResponse, error) {
gwDetails, err := g.provider.GetApiGatewayDetails(ctx, req.ApiName)
if err != nil {
return nil, err
Expand Down

0 comments on commit 0ab9a90

Please sign in to comment.