Skip to content

Commit 336de40

Browse files
committed
fix comments
1 parent 60d83c7 commit 336de40

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

internal/util/string.go

+1
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,7 @@ func FormatMemToMB(data uint64) string {
886886
} else {
887887
return fmt.Sprintf("%vM", data/B2MBRatio)
888888
}
889+
}
889890

890891
func ConvertSliceToString[T any](slice []T, sep string) string {
891892
str := make([]string, len(slice))

protos/PublicDefs.proto

-3
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ message RuntimeAttrOfTask {
173173
bool held = 18;
174174
ResourceV2 resources = 19;
175175
double cached_priority = 20;
176-
double alloc_cpus_total = 21;
177-
uint64 alloc_mem_total = 22;
178-
string alloc_device_total = 23;
179176
}
180177

181178
message TaskToD {

0 commit comments

Comments
 (0)