Skip to content

Commit 2991661

Browse files
astefanuttiopenshift-merge-robot
authored andcommitted
Add quota API types to runtime scheme
1 parent 083ad2b commit 2991661

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323

2424
instascale "github.com/project-codeflare/instascale/controllers"
2525
mcadv1beta1 "github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/controller/v1beta1"
26+
quotasubtreev1 "github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/apis/quotaplugins/quotasubtree/v1"
2627
mcadconfig "github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/config"
2728
mcad "github.com/project-codeflare/multi-cluster-app-dispatcher/pkg/controller/queuejob"
2829
"go.uber.org/zap/zapcore"
@@ -50,7 +51,8 @@ var (
5051

5152
func init() {
5253
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
53-
_ = mcadv1beta1.AddToScheme(scheme)
54+
utilruntime.Must(mcadv1beta1.AddToScheme(scheme))
55+
utilruntime.Must(quotasubtreev1.AddToScheme(scheme))
5456
}
5557

5658
func main() {

0 commit comments

Comments
 (0)