Skip to content

Commit 04482cc

Browse files
committed
clean up
1 parent f159eef commit 04482cc

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

bundle/config/resources.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,6 @@ type Resources struct {
2727
SecretScopes map[string]*resources.SecretScope `json:"secret_scopes,omitempty"`
2828
}
2929

30-
func (r *Resources) GetResourceConfig(section, name string) (any, bool) {
31-
// TODO: validate that the config is fully resolved
32-
switch section {
33-
case "jobs":
34-
cfg, ok := r.Jobs[name]
35-
return cfg, ok
36-
case "schemas":
37-
cfg, ok := r.Schemas[name]
38-
return cfg, ok
39-
case "apps":
40-
cfg, ok := r.Schemas[name]
41-
return cfg, ok
42-
default:
43-
return nil, false
44-
}
45-
}
46-
4730
type ConfigResource interface {
4831
// Exists returns true if the resource exists in the workspace configured in
4932
// the input workspace client.

0 commit comments

Comments
 (0)