Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
2cbbee5d
Unverified
Commit
2cbbee5d
authored
5 years ago
by
Danielle Lancashire
Browse files
Options
Download
Email Patches
Plain Diff
hook resources: Init with empty resources during setup
parent
39578955
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/allocrunner/alloc_runner_hooks.go
+1
-0
client/allocrunner/alloc_runner_hooks.go
with
1 addition
and
0 deletions
+1
-0
client/allocrunner/alloc_runner_hooks.go
+
1
-
0
View file @
2cbbee5d
...
...
@@ -137,6 +137,7 @@ func (ar *allocRunner) initRunnerHooks(config *clientconfig.Config) error {
// create hook resource setting shim
hrs
:=
&
allocHookResourceSetter
{
ar
:
ar
}
hrs
.
SetAllocHookResources
(
&
cstructs
.
AllocHookResources
{})
// build the network manager
nm
,
err
:=
newNetworkManager
(
ar
.
Alloc
(),
ar
.
driverManager
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment