Skip to content

Commit

Permalink
Remove sysinfo::SystemExt usage
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Jan 8, 2024
1 parent ad7d816 commit faf7a79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opensearch/examples/cat_indices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use opensearch::{
http::transport::{SingleNodeConnectionPool, TransportBuilder},
Error, OpenSearch, DEFAULT_ADDRESS,
};
use sysinfo::{ProcessRefreshKind, RefreshKind, System, SystemExt};
use sysinfo::{ProcessRefreshKind, RefreshKind, System};
use url::Url;

#[tokio::main]
Expand Down
2 changes: 1 addition & 1 deletion opensearch/tests/common/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ use opensearch::{
BulkOperation, BulkParts, Error, OpenSearch, DEFAULT_ADDRESS,
};
use serde_json::json;
use sysinfo::{ProcessRefreshKind, RefreshKind, System, SystemExt};
use sysinfo::{ProcessRefreshKind, RefreshKind, System};
use url::Url;

/// Gets the address to the OpenSearch instance from environment variables
Expand Down

0 comments on commit faf7a79

Please sign in to comment.