mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
spell check
This commit is contained in:
@@ -27,7 +27,7 @@ type devicePluginClient struct {
|
||||
// Fingerprint is used to retrieve the set of devices and their health from the
|
||||
// device plugin. An error may be immediately returned if the fingerprint call
|
||||
// could not be made or as part of the streaming response. If the context is
|
||||
// cancelled, the error will be propogated.
|
||||
// cancelled, the error will be propagated.
|
||||
func (d *devicePluginClient) Fingerprint(ctx context.Context) (<-chan *FingerprintResponse, error) {
|
||||
// Join the passed context and the shutdown context
|
||||
joinedCtx, _ := joincontext.Join(ctx, d.doneCtx)
|
||||
@@ -97,7 +97,7 @@ func (d *devicePluginClient) Reserve(deviceIDs []string) (*ContainerReservation,
|
||||
// Stats is used to retrieve device statistics from the device plugin. An error
|
||||
// may be immediately returned if the stats call could not be made or as part of
|
||||
// the streaming response. If the context is cancelled, the error will be
|
||||
// propogated.
|
||||
// propagated.
|
||||
func (d *devicePluginClient) Stats(ctx context.Context, interval time.Duration) (<-chan *StatsResponse, error) {
|
||||
// Join the passed context and the shutdown context
|
||||
joinedCtx, _ := joincontext.Join(ctx, d.doneCtx)
|
||||
|
||||
Reference in New Issue
Block a user