Logging of migration action.

This commit is contained in:
Jan Mußler 2020-12-09 13:22:58 +01:00
parent c01ae0c1c7
commit 939435bc41
1 changed files with 2 additions and 1 deletions

View File

@ -256,6 +256,7 @@ func (c *Cluster) executeEBSMigration() error {
if !c.OpConfig.EnableEBSGp3Migration { if !c.OpConfig.EnableEBSGp3Migration {
return nil return nil
} }
c.logger.Infof("starting EBS gp2 to gp3 migration")
pvs, _, err := c.listVolumesWithManifestSize(c.Spec.Volume) pvs, _, err := c.listVolumesWithManifestSize(c.Spec.Volume)
if err != nil { if err != nil {
@ -277,7 +278,7 @@ func (c *Cluster) executeEBSMigration() error {
} }
if !hasGp2 { if !hasGp2 {
// no gp2 volumes left to migrate c.logger.Infof("no EBS gp2 volumes left to migrate")
return nil return nil
} }
} }