Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ deny = [

# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
{ name = "hashbrown" },
]
# Similarly to `skip` allows you to skip certain crates during duplicate
# detection. Unlike skip, it also includes the entire tree of transitive
Expand Down
6 changes: 3 additions & 3 deletions pubsub/src/apiv1/publisher_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl PublisherClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all.extend(response.topics.into_iter());
all.extend(response.topics);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down Expand Up @@ -163,7 +163,7 @@ impl PublisherClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all.extend(response.subscriptions.into_iter());
all.extend(response.subscriptions);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down Expand Up @@ -196,7 +196,7 @@ impl PublisherClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all.extend(response.snapshots.into_iter());
all.extend(response.snapshots);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down
2 changes: 1 addition & 1 deletion pubsub/src/apiv1/schema_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl SchemaClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all.extend(response.schemas.into_iter());
all.extend(response.schemas);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down
4 changes: 2 additions & 2 deletions pubsub/src/apiv1/subscriber_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl SubscriberClient {
.map_transient_err()
};
let response: ListSubscriptionsResponse = invoke(retry.clone(), action).await?;
all.extend(response.subscriptions.into_iter());
all.extend(response.subscriptions);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down Expand Up @@ -331,7 +331,7 @@ impl SubscriberClient {
.map_transient_err()
};
let response: ListSnapshotsResponse = invoke(retry.clone(), action).await?;
all.extend(response.snapshots.into_iter());
all.extend(response.snapshots);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down
8 changes: 4 additions & 4 deletions spanner/src/admin/database/database_admin_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl DatabaseAdminClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all_databases.extend(response.databases.into_iter());
all_databases.extend(response.databases);
if response.next_page_token.is_empty() {
return Ok(all_databases);
}
Expand Down Expand Up @@ -340,7 +340,7 @@ impl DatabaseAdminClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all_backups.extend(response.backups.into_iter());
all_backups.extend(response.backups);
if response.next_page_token.is_empty() {
return Ok(all_backups);
}
Expand Down Expand Up @@ -413,7 +413,7 @@ impl DatabaseAdminClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all_operations.extend(response.operations.into_iter());
all_operations.extend(response.operations);
if response.next_page_token.is_empty() {
return Ok(all_operations);
}
Expand Down Expand Up @@ -450,7 +450,7 @@ impl DatabaseAdminClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all_operations.extend(response.operations.into_iter());
all_operations.extend(response.operations);
if response.next_page_token.is_empty() {
return Ok(all_operations);
}
Expand Down
4 changes: 2 additions & 2 deletions spanner/src/admin/instance/instance_admin_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl InstanceAdminClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all.extend(response.instance_configs.into_iter());
all.extend(response.instance_configs);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down Expand Up @@ -102,7 +102,7 @@ impl InstanceAdminClient {
.map_transient_err()
};
let response = invoke(retry.clone(), action).await?;
all.extend(response.instances.into_iter());
all.extend(response.instances);
if response.next_page_token.is_empty() {
return Ok(all);
}
Expand Down
Loading