mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
move cloud KMS providers to an external plugin
This commit is contained in:
@@ -22,11 +22,11 @@ type Info struct {
|
||||
func GetAsString() string {
|
||||
var sb strings.Builder
|
||||
sb.WriteString(info.Version)
|
||||
if len(info.CommitHash) > 0 {
|
||||
if info.CommitHash != "" {
|
||||
sb.WriteString("-")
|
||||
sb.WriteString(info.CommitHash)
|
||||
}
|
||||
if len(info.BuildDate) > 0 {
|
||||
if info.BuildDate != "" {
|
||||
sb.WriteString("-")
|
||||
sb.WriteString(info.BuildDate)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user