mirror of https://github.com/jetkvm/kvm.git
Remove logging statemets
This commit is contained in:
parent
9b75613346
commit
efde7dcc3d
|
@ -326,9 +326,7 @@ func (u *UsbGadget) writeGadgetItemConfig(item gadgetConfigItem) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// create symlink if configPath is set
|
// create symlink if configPath is set
|
||||||
fmt.Println("******", item.configPath, "*****")
|
|
||||||
if item.configPath != nil && item.configAttrs == nil {
|
if item.configPath != nil && item.configAttrs == nil {
|
||||||
fmt.Println("YES")
|
|
||||||
configPath := joinPath(u.configC1Path, item.configPath)
|
configPath := joinPath(u.configC1Path, item.configPath)
|
||||||
u.log.Trace().Str("source", configPath).Str("target", gadgetItemPath).Msg("creating symlink")
|
u.log.Trace().Str("source", configPath).Str("target", gadgetItemPath).Msg("creating symlink")
|
||||||
if err := ensureSymlink(configPath, gadgetItemPath); err != nil {
|
if err := ensureSymlink(configPath, gadgetItemPath); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue