Merge pull request #444 from arodus/patch-1

Fix create tenant command export
pull/450/head
Stefan Prodan 4 years ago committed by GitHub
commit 237d186207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}
}

Loading…
Cancel
Save