Skip to content

Commit

Permalink
Merge pull request #246 from BrunoReboul/dev
Browse files Browse the repository at this point in the history
v.4.4
  • Loading branch information
BrunoReboul authored Nov 25, 2021
2 parents 5b83f5d + 318b25a commit 2a22940
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions services/listgroups/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ var pubSubErrNumber uint64
var pubSubID string
var pubSubMsgNumber uint64
var stepStack glo.Steps
var timestamp time.Time

// Global structure for global variables to optimize the cloud function performances
type Global struct {
Expand Down Expand Up @@ -265,7 +264,6 @@ func EntryPoint(ctxEvent context.Context, PubSubMessage gps.PubSubMessage, globa
logEventEveryXPubSubMsg = global.logEventEveryXPubSubMsg
pubSubClient = global.pubSubClient
outputTopicName = global.outputTopicName
timestamp = metadata.Timestamp
pubSubID = global.PubSubID
microserviceName = global.microserviceName
instanceName = global.instanceName
Expand Down Expand Up @@ -540,7 +538,7 @@ func browseGroups(groups *admin.Groups) error {
topic := pubSubClient.Topic(outputTopicName)
for _, group := range groups.Groups {
var feedMessage cai.FeedMessageGroup
feedMessage.Window.StartTime = timestamp
feedMessage.Window.StartTime = time.Now()
feedMessage.Origin = "batch-listgroups"
feedMessage.Deleted = false
feedMessage.Asset.Ancestors = []string{fmt.Sprintf("directories/%s", directoryCustomerID)}
Expand Down

0 comments on commit 2a22940

Please sign in to comment.