Skip to content

Commit f44ce82

Browse files
committed
cleanup: remove deprecated liveness driver type
Signed-off-by: Rohan Satkar <coderxrohan@gmail.com>
1 parent 7380f39 commit f44ce82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

internal/util/util.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const (
4242
CephFsType = "cephfs"
4343
NFSType = "nfs"
4444
NVMeoFType = "nvmeof"
45-
LivenessType = "liveness"
4645
ControllerType = "controller"
4746
)
4847

@@ -96,7 +95,7 @@ var (
9695

9796
// Config holds the parameters list which can be configured.
9897
type Config struct {
99-
Vtype string // driver type [rbd|cephfs|liveness|controller]
98+
Vtype string // driver type [rbd|cephfs|nfs|nvmeof|controller]
10099
Endpoint string // CSI endpoint
101100
DriverName string // name of the driver
102101
DriverNamespace string // namespace in which driver is deployed
@@ -107,7 +106,7 @@ type Config struct {
107106
DomainLabels string // list of domain labels to read from the node
108107
// metrics related flags
109108
MetricsPath string // path of prometheus endpoint where metrics will be available
110-
MetricsIP string // TCP port for liveness/ metrics requests
109+
MetricsIP string // IP address for metrics endpoint
111110

112111
// CSI-Addons endpoint
113112
CSIAddonsEndpoint string
@@ -138,7 +137,7 @@ type Config struct {
138137
MinSnapshotsOnImage uint
139138

140139
PidLimit int // PID limit to configure through cgroups")
141-
MetricsPort int // TCP port for liveness/grpc metrics requests
140+
MetricsPort int // TCP port for metrics endpoint
142141
PollTime time.Duration // time interval in seconds between each poll
143142
PoolTimeout time.Duration // probe timeout in seconds
144143
// Log interval for slow GRPC calls. Calls that outlive their context deadline

0 commit comments

Comments
 (0)