From 57f12012bc22bcfa21d5bfdd81cf4df1e156ec4e Mon Sep 17 00:00:00 2001 From: Florian Friedrich Date: Fri, 10 May 2024 08:20:17 +0200 Subject: [PATCH] Remove now provided builtin function --- internal/awshelpers/clean-repositories.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/awshelpers/clean-repositories.go b/internal/awshelpers/clean-repositories.go index c58b524..2aacdad 100644 --- a/internal/awshelpers/clean-repositories.go +++ b/internal/awshelpers/clean-repositories.go @@ -45,13 +45,6 @@ func (config Config) compile() (compiledConfig, error) { }, nil } -func min(a, b int) int { - if a < b { - return a - } - return b -} - func relevantRepositories(ctx context.Context, config compiledConfig, client *ecr.Client) ([]ecrTypes.Repository, error) { var registryId *string if config.accountId != "" {