Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #208 from Netflix/log-metadataserver-lag
Browse files Browse the repository at this point in the history
Log the amount of time that security group convergence took
  • Loading branch information
sargun committed Dec 21, 2018
2 parents c463ba7 + 057ee4e commit 4ef0a91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vpc/allocate/allocate_network.go
Expand Up @@ -361,6 +361,7 @@ func waitForSecurityGroupToConverge(ctx *context.VPCContext, networkInterface *e
return err
}
if reflect.DeepEqual(securityGroups, networkInterface.SecurityGroupIds) {
ctx.Logger.WithField("duration", time.Since(now).String()).Info("Changed security groups successfully")
return nil
}
time.Sleep(time.Second)
Expand Down

0 comments on commit 4ef0a91

Please sign in to comment.