mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 15:35:10 +00:00
fix: allow version to be overwritten by build again (#4656)
This commit is contained in:
parent
41c043bcd9
commit
5ac956b0f1
@ -3,13 +3,17 @@ package build
|
||||
import "time"
|
||||
|
||||
var (
|
||||
version = time.Now().Format(time.RFC3339)
|
||||
version = ""
|
||||
commit = ""
|
||||
date = ""
|
||||
dateTime time.Time
|
||||
)
|
||||
|
||||
func Version() string {
|
||||
if version != "" {
|
||||
return version
|
||||
}
|
||||
version = Date().Format(time.RFC3339)
|
||||
return version
|
||||
}
|
||||
|
||||
|
@ -203,7 +203,7 @@ func (h *StatementHandler) Init(ctx context.Context) error {
|
||||
return err
|
||||
}
|
||||
if !next {
|
||||
logging.WithFields("projection", h.ProjectionName, "execute", i).Debug("skipping next check")
|
||||
logging.WithFields("projection", h.ProjectionName, "execute", i).Debug("projection set up")
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user