mirror of https://github.com/k3s-io/k3s
glusterfs: remove a redundant comment
This comment exactly states what the line below it does. There's no point in keeping it. Signed-off-by: Michael Adam <obnox@redhat.com>pull/58/head
parent
465bb06533
commit
870bf314fe
|
@ -822,7 +822,6 @@ func (p *glusterfsVolumeProvisioner) CreateVolume(gid int) (r *v1.GlusterfsVolum
|
||||||
return nil, 0, "", fmt.Errorf("failed to get cluster nodes for volume %s: %v", volume, err)
|
return nil, 0, "", fmt.Errorf("failed to get cluster nodes for volume %s: %v", volume, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// The 'endpointname' is created in form of 'glusterfs-dynamic-<PVC UID>'.
|
|
||||||
epServiceName := dynamicEpSvcPrefix + string(p.options.PVC.UID)
|
epServiceName := dynamicEpSvcPrefix + string(p.options.PVC.UID)
|
||||||
epNamespace := p.options.PVC.Namespace
|
epNamespace := p.options.PVC.Namespace
|
||||||
endpoint, service, err := p.createEndpointService(epNamespace, epServiceName, dynamicHostIps, p.options.PVC.Name)
|
endpoint, service, err := p.createEndpointService(epNamespace, epServiceName, dynamicHostIps, p.options.PVC.Name)
|
||||||
|
|
Loading…
Reference in New Issue