Skip to content

Commit

Permalink
fix gitcredentials openapi client
Browse files Browse the repository at this point in the history
bump versions, ci job tags
  • Loading branch information
mach-kernel committed Jul 16, 2024
1 parent 6833a0b commit bb9860c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest
type=raw,value=${{ github.ref_name }}
- uses: actions/download-artifact@v4
with:
name: crd_gen
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion charts/databricks-kube-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.8.0
appVersion: 0.8.1
name: databricks-kube-operator
description: A kube-rs operator for managing Databricks API resources
version: 0.9.0
Expand Down
2 changes: 1 addition & 1 deletion databricks-kube/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ path = "src/crdgen.rs"
[package]
name = "databricks_kube"
default-run = "databricks_kube"
version = "0.8.0"
version = "0.8.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion databricks-rust-git-credentials/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "databricks_rust_git_credentials"
version = "2.1.1"
version = "2.1.2"
authors = ["OpenAPI Generator team and contributors"]
edition = "2018"

Expand Down
10 changes: 5 additions & 5 deletions databricks-rust-git-credentials/src/apis/default_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub async fn create_git_credential(

let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!("{}/git-credentials", local_var_configuration.base_path);
let local_var_uri_str = format!("{}/2.0/git-credentials", local_var_configuration.base_path);
let mut local_var_req_builder =
local_var_client.request(reqwest::Method::POST, local_var_uri_str.as_str());

Expand Down Expand Up @@ -116,7 +116,7 @@ pub async fn delete_git_credential(
let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!(
"{}/git-credentials/{credential_id}",
"{}/2.0/git-credentials/{credential_id}",
local_var_configuration.base_path,
credential_id = crate::apis::urlencode(credential_id)
);
Expand Down Expand Up @@ -167,7 +167,7 @@ pub async fn get_git_credential(
let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!(
"{}/git-credentials/{credential_id}",
"{}/2.0/git-credentials/{credential_id}",
local_var_configuration.base_path,
credential_id = crate::apis::urlencode(credential_id)
);
Expand Down Expand Up @@ -216,7 +216,7 @@ pub async fn get_git_credential_list(

let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!("{}/git-credentials", local_var_configuration.base_path);
let local_var_uri_str = format!("{}/2.0/git-credentials", local_var_configuration.base_path);
let mut local_var_req_builder =
local_var_client.request(reqwest::Method::GET, local_var_uri_str.as_str());

Expand Down Expand Up @@ -265,7 +265,7 @@ pub async fn update_git_credential(
let local_var_client = &local_var_configuration.client;

let local_var_uri_str = format!(
"{}/git-credentials/{credential_id}",
"{}/2.0/git-credentials/{credential_id}",
local_var_configuration.base_path,
credential_id = crate::apis::urlencode(credential_id)
);
Expand Down

0 comments on commit bb9860c

Please sign in to comment.