mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-09 16:55:38 +02:00
fix codegen to support both apis
This commit is contained in:
@@ -80,6 +80,9 @@ func NewForConfig(c *rest.Config) (*Clientset, error) {
|
||||
var cs Clientset
|
||||
var err error
|
||||
cs.acidV1, err = acidv1.NewForConfig(&configShallowCopy)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
cs.zalandoV1alpha1, err = zalandov1alpha1.NewForConfig(&configShallowCopy)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user