Skip to content

Commit

Permalink
[core] Update Bookkeeping client for latest proto
Browse files Browse the repository at this point in the history
  • Loading branch information
teo authored and knopers8 committed Jul 16, 2024
1 parent f1e4ccd commit bcd2c1a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/integration/bookkeeping/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

// Generate protofiles using the .protos imported from Bookkeeping in the Makefile
//go:generate protoc --go_out=. --go_opt=paths=source_relative protos/common.proto
//go:generate protoc --go_out=. --go_opt=paths=source_relative protos/bkcommon.proto
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/environment.proto
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/flp.proto
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --go-grpc_out=require_unimplemented_servers=false:. protos/log.proto
Expand Down Expand Up @@ -1218,8 +1218,6 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {
return
}

createdAt := time.Now().UnixMilli()

var statusMessage = ""
envState := env.CurrentState()
if envState == "STANDBY" || envState == "DEPLOYED" {
Expand All @@ -1232,7 +1230,6 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {

inEnv := bkpb.EnvironmentCreationRequest{
Id: env.Id().String(),
CreatedAt: &createdAt,
Status: &envState,
StatusMessage: &statusMessage,
}
Expand Down

0 comments on commit bcd2c1a

Please sign in to comment.