Skip to content

Commit

Permalink
Fixes double insert to dynakube table (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
0sewa0 committed Mar 14, 2022
1 parent b542c6e commit da7a273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/csi/provisioner/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func (provisioner *OneAgentProvisioner) Reconcile(ctx context.Context, request r
if err != nil {
return reconcile.Result{}, err
}
oldDynakube = *dynakube

if err = provisioner.createCSIDirectories(provisioner.path.EnvDir(dynakube.TenantUUID)); err != nil {
log.Error(err, "error when creating csi directories", "path", provisioner.path.EnvDir(dynakube.TenantUUID))
Expand Down

0 comments on commit da7a273

Please sign in to comment.