1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

feat(edge-compute): add flag to auto enable Edge compute features (#3922)

This commit is contained in:
Chaim Lev-Ari 2020-06-16 10:55:45 +03:00 committed by GitHub
parent 89fb3c8dae
commit 5d7ba0baba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 42 deletions

View file

@ -203,6 +203,7 @@ func updateSettingsFromFlags(dataStore portainer.DataStore, flags *portainer.CLI
settings.LogoURL = *flags.Logo
settings.SnapshotInterval = *flags.SnapshotInterval
settings.EnableEdgeComputeFeatures = *flags.EnableEdgeComputeFeatures
if *flags.Templates != "" {
settings.TemplatesURL = *flags.Templates