Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <jortel@redhat.com>
  • Loading branch information
jortel committed Apr 25, 2024
1 parent 3c2df15 commit 4aad1aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion binding/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (h *Tag) Find(name string, category uint) (r *api.Tag, found bool, err erro

// Ensure a tag exists.
func (h *Tag) Ensure(wanted *api.Tag) (err error) {
for i := 0; i < 100; i++ {
for i := 0; i < 10; i++ {
err = h.Create(wanted)
if err == nil {
return
Expand Down
2 changes: 1 addition & 1 deletion binding/tagcategory.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (h *TagCategory) Find(name string) (r *api.TagCategory, found bool, err err

// Ensure a tag-type exists.
func (h *TagCategory) Ensure(wanted *api.TagCategory) (err error) {
for i := 0; i < 100; i++ {
for i := 0; i < 10; i++ {
err = h.Create(wanted)
if err == nil {
return
Expand Down

0 comments on commit 4aad1aa

Please sign in to comment.