We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d31702 commit a2e4ca7Copy full SHA for a2e4ca7
1 file changed
examples/instance/terraform/apply.go
@@ -26,8 +26,9 @@ func (p *plugin) terraformApply() error {
26
if err := p.lock.TryLock(); err == nil {
27
defer p.lock.Unlock()
28
doTerraformApply(p.Dir)
29
+ } else {
30
+ log.Debugln("Can't acquire lock, waiting")
31
}
- log.Debugln("Can't acquire lock, waiting")
32
time.Sleep(time.Duration(int64(rand.NormFloat64())%1000) * time.Millisecond)
33
34
}()
0 commit comments