Skip to content

Commit 0421500

Browse files
committed
cri stats: rename InterfaceUsage to NetworkInterfaceUsage
to be very clear about what it is Signed-off-by: Peter Hunt <[email protected]>
1 parent 1433725 commit 0421500

File tree

1 file changed

+4
-4
lines changed
  • keps/sig-node/2371-cri-pod-container-stats

1 file changed

+4
-4
lines changed

keps/sig-node/2371-cri-pod-container-stats/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,13 +445,13 @@ message NetworkUsage {
445445
// The time at which these stats were updated.
446446
int64 timestamp = 1;
447447
// Stats for the default interface, if found
448-
InterfaceUsage default_interface = 2;
448+
NetworkInterfaceUsage default_interface = 2;
449449
// Stats for all found interfaces
450-
repeated InterfaceUsage interfaces = 3;
450+
repeated NetworkInterfaceUsage interfaces = 3;
451451
}
452452
453-
// InterfaceUsage contains resource value data about interface.
454-
type InterfaceUsage struct {
453+
// NetworkInterfaceUsage contains resource value data about a network interface.
454+
type NetworkInterfaceUsage struct {
455455
// The name of the interface
456456
string name = 1;
457457
// Cumulative count of bytes received.

0 commit comments

Comments
 (0)