We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36dca8 commit cc62da4Copy full SHA for cc62da4
internal/sql/repository/pipelineConfig/CiTemplateRepository.go
@@ -97,7 +97,7 @@ func (impl CiTemplateRepositoryImpl) FindByAppId(appId int) (ciTemplate *CiTempl
97
func (impl CiTemplateRepositoryImpl) FindByDockerRegistryId(dockerRegistryId string) (ciTemplates []*CiTemplate, err error) {
98
err = impl.dbConnection.Model(&ciTemplates).
99
Join("JOIN app a ON ci_template.app_id = a.id").
100
- Where("docker_registry_id = ?", dockerRegistryId).
+ Where("ci_template.docker_registry_id = ?", dockerRegistryId).
101
Where("ci_template.active = ?", true).
102
Where("a.active = ?", true).
103
Select()
0 commit comments