feat(swarm): do not prevent server startup when Swarm config.json file is invalid BE-11402 (#160)

pull/11530/merge
andres-portainer 2024-11-25 17:40:10 -03:00 committed by GitHub
parent fe29d6aee3
commit 821c1fdbef
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func (manager *SwarmStackManager) updateDockerCLIConfiguration(configPath string
config, err := manager.retrieveConfigurationFromDisk(configFilePath)
if err != nil {
return err
log.Warn().Err(err).Msg("unable to retrieve the Swarm configuration from disk, proceeding without it")
}
signature, err := manager.signatureService.CreateSignature(portainer.PortainerAgentSignatureMessage)