Skip to content

Commit

Permalink
Remove spam log messages from gce pd
Browse files Browse the repository at this point in the history
Fixes #27410
  • Loading branch information
saad-ali committed Jun 15, 2016
1 parent 542f2dc commit cfab536
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/volume/gce_pd/gce_pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,9 @@ func (plugin *gcePersistentDiskPlugin) NewMounter(spec *volume.Spec, pod *api.Po
func getVolumeSource(
spec *volume.Spec) (*api.GCEPersistentDiskVolumeSource, bool, error) {
if spec.Volume != nil && spec.Volume.GCEPersistentDisk != nil {
glog.V(4).Infof(
"volume source %v spec %v, readonly flag retrieved from source: %v",
spec.Volume.GCEPersistentDisk.PDName,
spec.Name(),
spec.Volume.GCEPersistentDisk.ReadOnly)
return spec.Volume.GCEPersistentDisk, spec.Volume.GCEPersistentDisk.ReadOnly, nil
} else if spec.PersistentVolume != nil &&
spec.PersistentVolume.Spec.GCEPersistentDisk != nil {
glog.V(4).Infof(
"volume source %v spec %v, readonly flag retrieved from spec: %v",
spec.PersistentVolume.Spec.GCEPersistentDisk.PDName,
spec.Name(),
spec.ReadOnly)
return spec.PersistentVolume.Spec.GCEPersistentDisk, spec.ReadOnly, nil
}

Expand Down

0 comments on commit cfab536

Please sign in to comment.