Skip to content

Commit

Permalink
Clarify comment on Node.Role
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
  • Loading branch information
aaronlehmann committed Jan 5, 2017
1 parent e5f0bde commit 167b493
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions api/objects.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions api/objects.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ message Node {
// Role is the *observed* role for this node. It differs from the
// desired role set in Node.Spec.Role because the role here is only
// updated after the Raft member list has been reconciled with the
// desired role from the spec. Note that this doesn't show whether the
// node has obtained a certificate that reflects its current role.
// desired role from the spec.
//
// This field represents the current reconciled state. If an action is
// to be performed, first verify the role in the cert. This field only
// shows the privilege level that the CA would currently grant when
// issuing or renewing the node's certificate.
NodeRole role = 9;
}

Expand Down

0 comments on commit 167b493

Please sign in to comment.