Skip to content

Commit

Permalink
remove unused fields
Browse files Browse the repository at this point in the history
  • Loading branch information
zyclonite committed May 16, 2024
1 parent c2ac930 commit 8d63835
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import (
type AWS struct {
client *s3.S3
cfClient *cloudfront.CloudFront
remote []string
local []string
plugin *Plugin
}

Expand All @@ -48,10 +46,8 @@ func NewAWS(p *Plugin) AWS {

c := s3.New(sess)
cf := cloudfront.New(sess)
r := make([]string, 0)
l := make([]string, 0)

return AWS{c, cf, r, l, p}
return AWS{c, cf, p}
}

func (a *AWS) Upload(local, remote string) error {
Expand Down

0 comments on commit 8d63835

Please sign in to comment.