Skip to content

Commit

Permalink
run go fmt
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Krampl <[email protected]>
  • Loading branch information
frodesundby and thokra-nav committed Apr 16, 2024
1 parent 34baf0f commit 42d5cb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/database/resource_utilization.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type ResourceUtilizationRepo interface {
ResourceUtilizationOverageForTeam(ctx context.Context, teamSlug slug.Slug, timestamp pgtype.Timestamptz, resourceType gensql.ResourceType) ([]*gensql.ResourceUtilizationOverageForTeamRow, error)
ResourceUtilizationRangeForApp(ctx context.Context, environment string, teamSlug slug.Slug, app string) (*gensql.ResourceUtilizationRangeForAppRow, error)
ResourceUtilizationRangeForTeam(ctx context.Context, teamSlug slug.Slug) (*gensql.ResourceUtilizationRangeForTeamRow, error)
ResourceUtilizationRefresh(ctx context.Context) error
ResourceUtilizationRefresh(ctx context.Context) error
ResourceUtilizationUpsert(ctx context.Context, arg []gensql.ResourceUtilizationUpsertParams) *gensql.ResourceUtilizationUpsertBatchResults
SpecificResourceUtilizationForApp(ctx context.Context, environment string, teamSlug slug.Slug, app string, resourceType gensql.ResourceType, timestamp pgtype.Timestamptz) (*gensql.SpecificResourceUtilizationForAppRow, error)
SpecificResourceUtilizationForTeam(ctx context.Context, teamSlug slug.Slug, resourceType gensql.ResourceType, timestamp pgtype.Timestamptz) (*gensql.SpecificResourceUtilizationForTeamRow, error)
Expand All @@ -32,7 +32,6 @@ func (d *database) ResourceUtilizationRefresh(ctx context.Context) error {
return d.querier.RefreshResourceTeamRange(ctx)
}


func (d *database) AverageResourceUtilizationForTeam(ctx context.Context, teamSlug slug.Slug, resourceType gensql.ResourceType, timestamp pgtype.Timestamptz) (*gensql.AverageResourceUtilizationForTeamRow, error) {
return d.querier.AverageResourceUtilizationForTeam(ctx, gensql.AverageResourceUtilizationForTeamParams{
TeamSlug: teamSlug,
Expand Down

0 comments on commit 42d5cb9

Please sign in to comment.