Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Victor Goklas authored and Jonathan Victor Goklas committed May 31, 2024
1 parent dd24069 commit 142b039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions api/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ func (s *APITestSuite) SetupTest() {
Mlflow: &config.MlflowConfig{
TrackingURL: "http://mlflow:5000",
},
UpdateProject: &config.UpdateProjectConfig{
Endpoint: "",
PayloadTemplate: "template-payload",
ResponseTemplate: "template-response",
},
DefaultSecretStorage: &config.SecretStorage{
Name: "vault",
Type: string(models.VaultSecretStorageType),
Expand Down
2 changes: 1 addition & 1 deletion api/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ type UIConfig struct {
}

type UpdateProjectConfig struct {
Endpoint string `validate:"url"`
Endpoint string
PayloadTemplate string
ResponseTemplate string
LabelsBlacklist []string
Expand Down

0 comments on commit 142b039

Please sign in to comment.