Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mantil-io/mantil
Browse files Browse the repository at this point in the history
  • Loading branch information
djelusic committed Dec 8, 2021
2 parents da90441 + d6bfb91 commit beb1eed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions domain/stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ type Public struct {
}

type LastDeployment struct {
Version string `yaml:"version"`
Time time.Time `yaml:"time"`
Version string `yaml:"version"`
Timestamp int64 `yaml:"timestamp"`
}

func (s *Stage) ResourceTags() map[string]string {
Expand Down Expand Up @@ -111,8 +111,8 @@ func (s *Stage) SetEndpoints(rest, ws string) {

func (s *Stage) SetLastDeployment() {
s.LastDeployment = &LastDeployment{
Version: s.node.Version,
Time: time.Now().Round(time.Second),
Version: s.node.Version,
Timestamp: time.Now().UnixMilli(),
}
}

Expand Down

0 comments on commit beb1eed

Please sign in to comment.