check mount status in mountoperation.run not on bind mountpoint

preparation

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
This commit is contained in:
Itxaka
2023-02-08 14:43:58 +01:00
parent bfc337b499
commit 98a2506859
3 changed files with 38 additions and 44 deletions

View File

@@ -30,7 +30,7 @@ Sends a generic event payload with the configuration found in the scanned direct
},
},
Action: func(c *cli.Context) (err error) {
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}).With().Caller().Logger()
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}).With().Logger()
g := herd.DAG()
s := &mount.State{
Logger: log.Logger,