Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zostay committed Jul 29, 2024
1 parent 48496b6 commit 62778a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/config/lazyTools.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func (t *LazyTools) makeFuncMap(
ctx context.Context,
rmgr *k8scfg.Client,
) template.FuncMap {

aws := tmpltools.AWS{
Region: t.c.AWS.Region,
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/tmpltools/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (a AWS) DDBLookup(table, field string, key map[string]any) (string, error)
}

// DescribeEfsFileSystemId returns a function that lookups up an EFS file
// systems description
// systems description.
func (a AWS) DescribeEfsFileSystemId(token string) (string, error) {
sess, err := session.NewSession(&aws.Config{
Region: aws.String(a.Region),
Expand All @@ -74,7 +74,7 @@ func (a AWS) DescribeEfsFileSystemId(token string) (string, error) {
return aws.StringValue(out.FileSystems[0].FileSystemId), nil
}

// DescribeEfsMountTargets Lookup EFS mount targets
// DescribeEfsMountTargets Lookup EFS mount targets.
func (a AWS) DescribeEfsMountTargets(id string) (*efs.DescribeMountTargetsOutput, error) {
sess, err := session.NewSession(&aws.Config{
Region: aws.String(a.Region),
Expand Down

0 comments on commit 62778a7

Please sign in to comment.