Skip to content

Commit

Permalink
rename settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ExplodingDragon committed Jan 15, 2025
1 parent 3b55815 commit cae7f0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom/conf/app.example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ LEVEL = Info
;; Enable RPM re-signing by default. (It will overwrite the old signature ,using v4 format, not compatible with CentOS 6 or older)
;DEFAULT_RPM_SIGN_ENABLED = false
;; Keep only the latest version in Arch DB.
;METADATA_ARCH_LATEST_VERSION = false
;REPO_KEEP_LATEST_VERSION_ARCH = false

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down
2 changes: 1 addition & 1 deletion modules/setting/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func loadPackagesFrom(rootCfg ConfigProvider) (err error) {
Packages.LimitSizeSwift = mustBytes(sec, "LIMIT_SIZE_SWIFT")
Packages.LimitSizeVagrant = mustBytes(sec, "LIMIT_SIZE_VAGRANT")
Packages.DefaultRPMSignEnabled = sec.Key("DEFAULT_RPM_SIGN_ENABLED").MustBool(false)
Packages.RepoLatestVersionArch = sec.Key("METADATA_ARCH_LATEST_VERSION").MustBool(false)
Packages.RepoLatestVersionArch = sec.Key("REPO_KEEP_LATEST_VERSION_ARCH").MustBool(false)
return nil
}

Expand Down

0 comments on commit cae7f0b

Please sign in to comment.