Skip to content

Commit

Permalink
Fix bug kubi projects status not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien BOUAT committed Feb 20, 2024
1 parent 9673d13 commit 0cea140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ env.*
*.csv
/tmp/*
/bin/*
/build/*
#/build/*
2 changes: 1 addition & 1 deletion internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c *Controller) LocalSyncProjectsMembers() error {
return err
}
for _, project := range projects.Items {
if project.Status.Name == kubiv1.ProjectStatusCreated {
if project.Labels["creator"] == "kubi" {
members, err := c.ldap.Search(project.Spec.SourceDN)
if err != nil {
klog.Errorf("Could not find ldap members for %s : %s", project.Spec.SourceDN, err)
Expand Down

0 comments on commit 0cea140

Please sign in to comment.