Skip to content

Commit

Permalink
fix unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson committed Dec 15, 2023
1 parent f0885ab commit 65ce5cd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tembo-operator/src/postgres_exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub struct QueryItem {
pub query: String,

// We need to support this at some point going forward since master
// if now deprecated.
// is now deprecated.
// whether to run the query only on the primary instance
//pub primary: Option<bool>,

Expand All @@ -125,10 +125,6 @@ pub struct QueryItem {
/// See [https://cloudnative-pg.io/documentation/1.20/monitoring/#structure-of-a-user-defined-metric](https://cloudnative-pg.io/documentation/1.20/monitoring/#structure-of-a-user-defined-metric)
pub master: bool,

/// a list of databases to run the query against, or a shell-like pattern to
/// enable auto discovery. Overwrites the default database if provided.
pub target_database: Option<String>,

/// the name of the column returned by the query
///
/// usage: one of the values described below
Expand Down

0 comments on commit 65ce5cd

Please sign in to comment.