fix unit test

This commit is contained in:
fengzixu 2021-11-30 09:49:19 +09:00
parent 5593e27429
commit c1a58d715c

View File

@ -47,7 +47,7 @@ func TestVolumeStatsCollector(t *testing.T) {
# TYPE kubelet_volume_stats_inodes_used gauge # TYPE kubelet_volume_stats_inodes_used gauge
# HELP kubelet_volume_stats_used_bytes [ALPHA] Number of used bytes in the volume # HELP kubelet_volume_stats_used_bytes [ALPHA] Number of used bytes in the volume
# TYPE kubelet_volume_stats_used_bytes gauge # TYPE kubelet_volume_stats_used_bytes gauge
# HELP kubelet_volume_stats_health_status [ALPHA] Volume health status. The value 1 of this metrics indicates unhealthy volume, 0 indicates the healthy # HELP kubelet_volume_stats_health_status [ALPHA] Volume health status. The count is either 1 or 0. 1 indicates the volume is unhealthy and 0 indicates volume is healthy
# TYPE kubelet_volume_stats_health_status gauge # TYPE kubelet_volume_stats_health_status gauge
` `