Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout of creation Service Binding #1388

Merged
merged 22 commits into from
Oct 31, 2024
Prev Previous commit
Next Next commit
wip
ukff committed Oct 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit cb7520bfb705e92cdae879128de1694289519916
10 changes: 10 additions & 0 deletions internal/broker/bind_create.go
Original file line number Diff line number Diff line change
@@ -245,3 +245,13 @@ func (b *BindEndpoint) execute(ctx context.Context, instanceID, bindingID string
},
}, nil
}

func (b *BindEndpoint) IsPlanBindable(planName string) bool {
planNameLowerCase := strings.ToLower(planName)
for _, p := range b.config.BindablePlans {
if strings.ToLower(p) == planNameLowerCase {
return true
}
}
return false
}

Unchanged files with check annotations Beta