diff --git a/cbt.go b/cbt.go index 9818b5a..182df4b 100755 --- a/cbt.go +++ b/cbt.go @@ -1611,8 +1611,7 @@ func doSnapshotTable(ctx context.Context, args ...string) { } } - t := time.Now() - t.Add(ttl) + t := time.Now().Add(ttl) err = getAdminClient().CreateBackup(ctx, tableName, clusterName, snapshotName, t) if err != nil {