Просмотр исходного кода

etcd-agent/client: fixup godocs

Anthony Romano 9 лет назад
Родитель
Сommit
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 {