fix: fix the func

This commit is contained in:
luhaoling 2024-03-05 15:01:58 +08:00
parent 0dad5ef921
commit 3fc5f1a79a

View File

@ -43,6 +43,6 @@ func (c *CronTaskCmd) Exec() error {
return c.Execute()
}
func (c *CronTaskCmd) GetPortFromConfig(portType string) (int, error) {
return 0, nil
func (c *CronTaskCmd) GetPortFromConfig(portType string) int {
return 0
}