Skip to content

Commit

Permalink
Allow analytics pending mutations against Capella clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
Westwooo committed Dec 10, 2024
1 parent 7176b8b commit 60aba97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/cli/analytics_pending_mutations.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use crate::cli::error::{
client_error_to_shell_error, deserialize_error, unexpected_status_code_error,
};
use crate::cli::util::{
cluster_identifiers_from, convert_row_to_nu_value, get_active_cluster, validate_is_not_cloud,
};
use crate::cli::util::{cluster_identifiers_from, convert_row_to_nu_value, get_active_cluster};
use crate::client::AnalyticsQueryRequest;
use crate::state::State;
use nu_engine::command_prelude::Call;
Expand Down Expand Up @@ -74,8 +72,6 @@ fn pending_mutations(
let mut results: Vec<Value> = vec![];
for identifier in cluster_identifiers {
let active_cluster = get_active_cluster(identifier.clone(), &guard, span)?;
validate_is_not_cloud(active_cluster, "analytics pending-mutations", span)?;

let response = active_cluster
.cluster()
.http_client()
Expand Down

0 comments on commit 60aba97

Please sign in to comment.