Skip to content

Commit f100578

Browse files
committed
s/0/empty
1 parent d7d5943 commit f100578

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/gcp/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ func awaitSignal(doneFn func()) {
201201
}
202202

203203
func newGCPStorage(ctx context.Context, signer note.Signer) (*sctfe.CTStorage, error) {
204-
if len(*bucket) == 0 {
204+
if *bucket == "" {
205205
return nil, errors.New("missing bucket")
206206
}
207207

208-
if len(*spannerDB) == 0 {
208+
if *spannerDB == "" {
209209
return nil, errors.New("missing spannerDB")
210210
}
211211

0 commit comments

Comments
 (0)