@@ -71,7 +71,7 @@ func (c *ControlPanel) LaunchLocalPlugin(
7171 // expire: generous upper bound for env initialization; tryLockTimeout: wait up to the same duration
7272 expire := 15 * time .Minute
7373 tryTimeout := 2 * time .Minute
74- log .Info ("acquiring distributed init lock, plugin" , pluginUniqueIdentifier .String (), "expire" , expire .String ())
74+ log .Info ("acquiring distributed init lock" , " plugin" , pluginUniqueIdentifier .String (), "expire" , expire .String ())
7575 if err := cache .Lock (lockKey , expire , tryTimeout ); err != nil {
7676 // failed to acquire the lock within timeout
7777 err = errors .Join (err , fmt .Errorf ("failed to acquire distributed env-init lock" ))
@@ -84,9 +84,9 @@ func (c *ControlPanel) LaunchLocalPlugin(
8484 }
8585 defer func () {
8686 if unlockErr := cache .Unlock (lockKey ); unlockErr != nil {
87- log .Warn ("failed to release distributed init lock" , pluginUniqueIdentifier .String (), "error" , unlockErr .Error ())
87+ log .Warn ("failed to release distributed init lock" , "plugin" , pluginUniqueIdentifier .String (), "error" , unlockErr .Error ())
8888 } else {
89- log .Info ("released distributed init lock" , pluginUniqueIdentifier .String ())
89+ log .Info ("released distributed init lock" , "plugin" , pluginUniqueIdentifier .String ())
9090 }
9191 }()
9292
0 commit comments