1
0
mirror of synced 2026-02-20 16:16:56 +00:00

Merge pull request #444 from arodus/patch-1

Fix create tenant command export
This commit is contained in:
Stefan Prodan
2020-11-11 14:27:59 +02:00
committed by GitHub

View File

@@ -135,7 +135,7 @@ func createTenantCmdRun(cmd *cobra.Command, args []string) error {
if export {
for i, _ := range tenantNamespaces {
if err := exportTenant(namespaces[i], roleBindings[1]); err != nil {
if err := exportTenant(namespaces[i], roleBindings[i]); err != nil {
return err
}
}