Explorar o código

etcd-agent/client: fixup godocs

Anthony Romano %!s(int64=10) %!d(string=hai) anos
pai
achega
f7b84d69a4
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 {