Account for gitea credentials in cache and watchers
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
b4e92a69c9
commit
08511e2e7f
6 changed files with 24 additions and 12 deletions
|
|
@ -14,7 +14,7 @@ func (f Filter) Validate() error {
|
|||
case common.RepositoryEntityType, common.OrganizationEntityType, common.EnterpriseEntityType,
|
||||
common.PoolEntityType, common.UserEntityType, common.InstanceEntityType,
|
||||
common.JobEntityType, common.ControllerEntityType, common.GithubCredentialsEntityType,
|
||||
common.GithubEndpointEntityType:
|
||||
common.GiteaCredentialsEntityType, common.ScaleSetEntityType, common.GithubEndpointEntityType:
|
||||
default:
|
||||
return common.ErrInvalidEntityType
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue