瀏覽代碼

etcd-agent/client: fixup godocs

Anthony Romano 9 年之前
父節點
當前提交
f7b84d69a4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      tools/functional-tester/etcd-agent/client/client.go

+ 3 - 1
tools/functional-tester/etcd-agent/client/client.go

@@ -17,9 +17,11 @@ package client
 import "net/rpc"
 
 type Status struct {
+	// State gives the human-readable status of an agent (e.g., "started" or "terminated")
+	State string
+
 	// TODO: gather more informations
 	// TODO: memory usage, raft information, etc..
-	State string
 }
 
 type Agent interface {