Skip to content

Commit 5e37999

Browse files
committed
remove package renames
1 parent cc4067a commit 5e37999

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/aws/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"github.com/go-sql-driver/mysql"
3131
tesseract "github.com/transparency-dev/static-ct"
3232
"github.com/transparency-dev/static-ct/storage"
33-
awsTesseract "github.com/transparency-dev/static-ct/storage/aws"
33+
"github.com/transparency-dev/static-ct/storage/aws"
3434
"github.com/transparency-dev/static-ct/storage/bbolt"
3535
tessera "github.com/transparency-dev/trillian-tessera"
3636
awsTessera "github.com/transparency-dev/trillian-tessera/storage/aws"
@@ -154,7 +154,7 @@ func newAWSStorage(ctx context.Context, signer note.Signer) (*storage.CTStorage,
154154
return nil, fmt.Errorf("failed to initialize AWS Tessera storage: %v", err)
155155
}
156156

157-
issuerStorage, err := awsTesseract.NewIssuerStorage(ctx, *bucket, "fingerprints/", "application/pkix-cert")
157+
issuerStorage, err := aws.NewIssuerStorage(ctx, *bucket, "fingerprints/", "application/pkix-cert")
158158
if err != nil {
159159
return nil, fmt.Errorf("failed to initialize AWS issuer storage: %v", err)
160160
}

cmd/gcp/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030

3131
tesseract "github.com/transparency-dev/static-ct"
3232
"github.com/transparency-dev/static-ct/storage"
33-
gcpTesseract "github.com/transparency-dev/static-ct/storage/gcp"
33+
"github.com/transparency-dev/static-ct/storage/gcp"
3434
tessera "github.com/transparency-dev/trillian-tessera"
3535
gcpTessera "github.com/transparency-dev/trillian-tessera/storage/gcp"
3636
"golang.org/x/mod/sumdb/note"
@@ -168,12 +168,12 @@ func newGCPStorage(ctx context.Context, signer note.Signer) (*storage.CTStorage,
168168
return nil, fmt.Errorf("failed to initialize GCP Tessera appender: %v", err)
169169
}
170170

171-
issuerStorage, err := gcpTesseract.NewIssuerStorage(ctx, *bucket, "fingerprints/", "application/pkix-cert")
171+
issuerStorage, err := gcp.NewIssuerStorage(ctx, *bucket, "fingerprints/", "application/pkix-cert")
172172
if err != nil {
173173
return nil, fmt.Errorf("failed to initialize GCP issuer storage: %v", err)
174174
}
175175

176-
beDedupStorage, err := gcpTesseract.NewDedupeStorage(ctx, *spannerDedupDB)
176+
beDedupStorage, err := gcp.NewDedupeStorage(ctx, *spannerDedupDB)
177177
if err != nil {
178178
return nil, fmt.Errorf("failed to initialize GCP Spanner deduplication database: %v", err)
179179
}

0 commit comments

Comments
 (0)