Skip to content

Commit

Permalink
Merge pull request #4756 from hashicorp/f-finalize-arv2
Browse files Browse the repository at this point in the history
Deprecate allocrunner and promote allocrunnerv2 to allocrunner
  • Loading branch information
dadgar committed Oct 5, 2018
2 parents 3f25ab4 + 47514ff commit 7120fc2
Show file tree
Hide file tree
Showing 80 changed files with 5,690 additions and 5,641 deletions.
1,374 changes: 370 additions & 1,004 deletions client/allocrunner/alloc_runner.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package allocrunnerv2
package allocrunner

import (
"context"
"fmt"
"time"

multierror "github.com/hashicorp/go-multierror"
"github.com/hashicorp/nomad/client/allocrunnerv2/interfaces"
"github.com/hashicorp/nomad/client/allocrunner/interfaces"
"github.com/hashicorp/nomad/nomad/structs"
)

Expand Down Expand Up @@ -76,7 +76,7 @@ func (ar *allocRunner) initRunnerHooks() {
hs := &allocHealthSetter{ar}

// Create the alloc directory hook. This is run first to ensure the
// directoy path exists for other hooks.
// directory path exists for other hooks.
ar.runnerHooks = []interfaces.RunnerHook{
newAllocDirHook(hookLogger, ar.allocDir),
newDiskMigrationHook(hookLogger, ar.prevAllocWatcher, ar.allocDir),
Expand Down
Loading

0 comments on commit 7120fc2

Please sign in to comment.