Skip to content

Commit a8efde6

Browse files
committed
Remove unused uploaded variable
1 parent e244369 commit a8efde6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

push.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ func push(cfg *config.PushConfig) error {
7979
}
8080

8181
newHashes := make(map[string]string)
82-
uploaded := false
8382

8483
// Process each certificate
8584
for certName, files := range certFiles {
@@ -128,7 +127,6 @@ func push(cfg *config.PushConfig) error {
128127
return fmt.Errorf("upload %s to S3: %w", s3Key, err)
129128
}
130129

131-
uploaded = true
132130
log.Printf("uploaded %s", s3Key)
133131
}
134132
}

0 commit comments

Comments
 (0)