File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ func (o *buildImageOptions) run(ctx context.Context) error {
70
70
}
71
71
}
72
72
}
73
+ logrus .Infof ("build image %s complete" , o .opts .Name )
73
74
return nil
74
75
}
75
76
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import (
5
5
"fmt"
6
6
"io"
7
7
8
+ "github.com/sirupsen/logrus"
9
+ "github.com/urfave/cli/v2"
10
+
8
11
"github.com/projecteru2/cli/cmd/utils"
9
12
corecluster "github.com/projecteru2/core/cluster"
10
13
corepb "github.com/projecteru2/core/rpc/gen"
11
14
coreutils "github.com/projecteru2/core/utils"
12
-
13
- "github.com/sirupsen/logrus"
14
- "github.com/urfave/cli/v2"
15
15
)
16
16
17
17
type controlWorkloadsOptions struct {
@@ -40,7 +40,7 @@ func (o *controlWorkloadsOptions) run(ctx context.Context) error {
40
40
return err
41
41
}
42
42
43
- logrus .Infof ("[ControlWorkload] %s" , coreutils .ShortID (msg .Id ))
43
+ logrus .Infof ("[ControlWorkload] %s %s" , o . action , coreutils .ShortID (msg .Id ))
44
44
if msg .Hook != nil {
45
45
logrus .Infof ("[ControlWorkload] HookOutput %s" , string (msg .Hook ))
46
46
}
You can’t perform that action at this time.
0 commit comments