From e62ceb5007e57d71e4f049640528b91a20ae86f6 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Fri, 8 Mar 2019 00:09:48 +0800 Subject: [PATCH] show expired_at colume for host --- pkg/mcclient/modules/mod_hosts.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/mcclient/modules/mod_hosts.go b/pkg/mcclient/modules/mod_hosts.go index f3f69078a4..4fddee1706 100644 --- a/pkg/mcclient/modules/mod_hosts.go +++ b/pkg/mcclient/modules/mod_hosts.go @@ -177,7 +177,9 @@ func init() { "mem_commit_rate", "cpu_commit_bound", "mem_commit_bound", "node_count", "sn", "storage_type", "host_type", "version", "schedtags", - "storage_size"}, + "storage_size", + "expired_at", + }, []string{})} registerCompute(&Hosts) }