Skip to content

Commit

Permalink
docker_script
Browse files Browse the repository at this point in the history
Signed-off-by: hanzhixiao <[email protected]>
  • Loading branch information
hanzhixiao committed Aug 18, 2023
1 parent 057a8bd commit 8e2ad0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/component/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

const (
cfgPath = "../../../../../config/config.yaml"
cfgPath = "../../config/config.yaml"
minioHealthCheckDuration = 1
maxRetry = 100
componentStartErrCode = 6000
Expand All @@ -49,6 +49,7 @@ func initCfg() error {
if err = yaml.Unmarshal(data, &config.Config); err != nil {
return err
}
fmt.Println(config.Config.Mysql.Address)
return nil
}

Expand Down

0 comments on commit 8e2ad0a

Please sign in to comment.