File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ type VMOpts struct {
5353 // after the instance operation succeeds.
5454 OnInstanceCreated func ()
5555
56- // OnInstanceCreated optionally specifies a hook to run synchronously
56+ // OnGotInstanceInfo optionally specifies a hook to run synchronously
5757 // after the computeService.Instances.Get call.
5858 // Only valid for GCE resources.
5959 OnGotInstanceInfo func (* compute.Instance )
6060
61- // OnInstanceCreated optionally specifies a hook to run synchronously
61+ // OnGotEC2InstanceInfo optionally specifies a hook to run synchronously
6262 // after the EC2 instance information is retrieved.
6363 // Only valid for EC2 resources.
6464 OnGotEC2InstanceInfo func (* cloud.Instance )
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ type EC2Buildlet struct {
7575 // hosts provides the host configuration for all hosts. It is passed in to facilitate
7676 // testing.
7777 hosts map [string ]* dashboard.HostConfig
78- // isRemoteBuildletFunc informs the caller is a VM instance is being used as a remote
78+ // isRemoteBuildlet informs the caller is a VM instance is being used as a remote
7979 // buildlet.
8080 //
8181 // TODO(golang.org/issues/38337) remove once we find a way to pass in remote buildlet
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ type reverseBuildlet struct {
475475 // It is the key into the dashboard.Hosts map.
476476 hostType string
477477
478- // inUseAs signifies that the buildlet is in use.
478+ // inUse signifies that the buildlet is in use.
479479 // inUseTime is when it entered that state.
480480 // inHealthCheck is whether it's inUse due to a health check.
481481 // All three are guarded by the mutex on ReverseBuildletPool.
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ func cachedToken() (*oauth2.Token, error) {
157157 return & refreshToken , nil
158158}
159159
160- // TokenSource returns a TokenSource that can be used to access Go's
160+ // TokenSourceForceLogin returns a TokenSource that can be used to access Go's
161161// IAP-protected sites. It will delete any existing authentication token
162162// credentials and prompt for login.
163163func TokenSourceForceLogin (ctx context.Context ) (oauth2.TokenSource , error ) {
Original file line number Diff line number Diff line change @@ -1739,7 +1739,7 @@ type NodeStatus struct {
17391739 // Queried from cloud provider, if available.
17401740 // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses
17411741 Addresses []NodeAddress `json:"addresses,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
1742- // NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
1742+ // NodeInfo is a set of ids/uuids to uniquely identify the node.
17431743 // More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info
17441744 NodeInfo NodeSystemInfo `json:"nodeInfo,omitempty"`
17451745}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727type Client struct {
2828 httpClient * http.Client
2929
30- // endPointURL is the Kubernetes master URL ending in
30+ // endpointURL is the Kubernetes master URL ending in
3131 // "/api/v1".
3232 endpointURL string
3333
Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ type GitHubComment struct {
568568 Body string
569569}
570570
571- // GitHubDismissedReview is the contents of a dismissed review event. For more
571+ // GitHubDismissedReviewEvent is the contents of a dismissed review event. For more
572572// details, see https://developer.github.com/v3/issues/events/.
573573type GitHubDismissedReviewEvent struct {
574574 ReviewID int64
You can’t perform that action at this time.
0 commit comments