Skip to content

Commit

Permalink
dekaf: Fix DEKAF_IMAGE_TAG typo -- should be :v1, not v1
Browse files Browse the repository at this point in the history
  • Loading branch information
jshearer committed Jan 29, 2025
1 parent 124d825 commit 692aeb2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/models/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub const DEKAF_IMAGE_NAME_PREFIX: &str = "ghcr.io/estuary/dekaf-";
/// Dekaf doesn't use images, but important information such as endpoint/resource config schema are associated
/// with a particular `connector_tags` row. Rather than refactoring this deeply interconnected piece of the system,
/// we've decided to just give Dekaf a `connector_tags` row. This is its tag.
pub const DEKAF_IMAGE_TAG: &str = "v1";
pub const DEKAF_IMAGE_TAG: &str = ":v1";

/// Dekaf service configuration
#[derive(Serialize, Deserialize, Clone, Debug, JsonSchema, PartialEq)]
Expand All @@ -41,10 +41,7 @@ pub struct DekafConfig {

impl DekafConfig {
pub fn image_name(&self) -> String {
format!(
"{DEKAF_IMAGE_NAME_PREFIX}{}:{DEKAF_IMAGE_TAG}",
self.variant
)
format!("{DEKAF_IMAGE_NAME_PREFIX}{}{DEKAF_IMAGE_TAG}", self.variant)
}
}

Expand Down

0 comments on commit 692aeb2

Please sign in to comment.