commit
e55d13d007
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ const (
|
|||
Sync
|
||||
// Get used to record Get from a sync pool.
|
||||
Get
|
||||
// Create used to recrod creations in a sync pool.
|
||||
// Create used to record creations in a sync pool.
|
||||
Create
|
||||
// Update used to record updates in a sync pool.
|
||||
Update
|
||||
|
|
|
@ -163,7 +163,7 @@ func run(deploy deployer) error {
|
|||
//
|
||||
// TODO: We should try calling deploy.Down exactly once. Though to
|
||||
// stop the leaking resources for now, we want to be on the safe side
|
||||
// and call it explictly in defer if the other one is not called.
|
||||
// and call it explicitly in defer if the other one is not called.
|
||||
if *down {
|
||||
defer xmlWrap("Deferred TearDown", deploy.Down)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue