cgtop,test: use consistent capitalization for CGroup
This commit is contained in:
parent
d7c5b3ec3e
commit
77599f06e1
|
@ -930,7 +930,7 @@ static int run(int argc, char *argv[]) {
|
||||||
r = show_cgroup_get_path_and_warn(arg_machine, arg_root, &root);
|
r = show_cgroup_get_path_and_warn(arg_machine, arg_root, &root);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return log_error_errno(r, "Failed to get root control group path: %m");
|
return log_error_errno(r, "Failed to get root control group path: %m");
|
||||||
log_debug("Cgroup path: %s", root);
|
log_debug("CGroup path: %s", root);
|
||||||
|
|
||||||
a = hashmap_new(&group_hash_ops);
|
a = hashmap_new(&group_hash_ops);
|
||||||
b = hashmap_new(&group_hash_ops);
|
b = hashmap_new(&group_hash_ops);
|
||||||
|
|
|
@ -98,7 +98,7 @@ function run {
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
if [[ "$2" = "yes" && "$is_cgns_supported" = "no" ]]; then
|
if [[ "$2" = "yes" && "$is_cgns_supported" = "no" ]]; then
|
||||||
printf "Cgroup namespaces are not supported. Skipping.\n" >&2
|
printf "CGroup namespaces are not supported. Skipping.\n" >&2
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue