Skip to content

Commit 064f43f

Browse files
committed
review: add log about run.timeout
1 parent 8a3fbff commit 064f43f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/commands/migrate.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ func (c *migrateCommand) execute(_ *cobra.Command, _ []string) error {
112112
}()
113113
}
114114

115+
if c.cfg.Run.Timeout != 0 {
116+
c.log.Warnf("The configuration `run.timeout` is ignored. By default, in v2, the timeout is disabled.")
117+
}
118+
115119
newCfg := migrate.ToConfig(c.cfg)
116120

117121
dstPath := strings.TrimSuffix(srcPath, filepath.Ext(srcPath)) + ext

0 commit comments

Comments
 (0)