go(run.go): add comment [skip ci]
This commit is contained in:
parent
7f87d0f2c2
commit
096b486dd8
5
run.go
5
run.go
@ -119,6 +119,11 @@ func run() error { //nolint:gocognit
|
|||||||
// TODO: deploy containers with podman using Ansible (https://www.redhat.com/sysadmin/automate-podman-ansible)
|
// TODO: deploy containers with podman using Ansible (https://www.redhat.com/sysadmin/automate-podman-ansible)
|
||||||
// TODO: add health checks for pod's containers (db, app)
|
// TODO: add health checks for pod's containers (db, app)
|
||||||
|
|
||||||
|
// load the config if possible, an error could mean multiple things:
|
||||||
|
// * just couldn't read the config
|
||||||
|
// * parsed the config but:
|
||||||
|
// * the schema provided is too new for the app - keep the older schema or update the app
|
||||||
|
// * the schema provided is too old for the app - upgrade the config schema or downgrade the app
|
||||||
conf, err := config.Load(*configFlag, *configIsPathFlag)
|
conf, err := config.Load(*configFlag, *configIsPathFlag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("couldn't load the configuration (isPath: '%t') '%s', full err: %w",
|
return fmt.Errorf("couldn't load the configuration (isPath: '%t') '%s', full err: %w",
|
||||||
|
Loading…
Reference in New Issue
Block a user