Skip to content

Commit

Permalink
recommit verbosity levels
Browse files Browse the repository at this point in the history
  • Loading branch information
skylerxhu committed Aug 16, 2023
1 parent a8f157a commit 373a76c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cloud/services/compute/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func (s *Service) getOrCreateRootVolume(eventObject runtime.Object, instanceSpec
return nil, fmt.Errorf("exected to find volume %s with size %d; found size %d", name, size, volume.Size)
}

s.scope.Logger().Info("Using existing root volume", "name", name)
s.scope.Logger().V(3).Info("Using existing root volume", "name", name)
return volume, nil
}

Expand Down Expand Up @@ -580,7 +580,7 @@ func (s *Service) DeleteInstance(eventObject runtime.Object, instanceStatus *Ins
return nil
}

s.scope.Logger().Info("Deleting dangling root volume", "name", volume.Name, "ID", volume.ID)
s.scope.Logger().V(2).Info("Deleting dangling root volume", "name", volume.Name, "ID", volume.ID)
return s.getVolumeClient().DeleteVolume(volume.ID, volumes.DeleteOpts{})
}

Expand Down

0 comments on commit 373a76c

Please sign in to comment.