Skip to content

Commit

Permalink
(feat) internal/civisibility/native: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyredondo committed Dec 18, 2024
1 parent 3cc6527 commit 36f0629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/civisibility/native/exports.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ typedef struct {
char* key;
char* value;
} topt_KeyValuePair;
const size_t topt_KeyValuePair_Size = sizeof(topt_KeyValuePair_Size);
const size_t topt_KeyValuePair_Size = sizeof(topt_KeyValuePair);
// topt_KeyValueArray is used to store an array of key-value pairs.
typedef struct {
Expand Down Expand Up @@ -250,7 +250,7 @@ func topt_initialize(options C.topt_InitOptions) C.Bool {
}

canShutdown.Store(true)
var tags map[string]string
tags := make(map[string]string)
if options.environment_variables != nil {
sLen := uint(options.environment_variables.len)
kvSize := uint(C.topt_KeyValuePair_Size)
Expand Down

0 comments on commit 36f0629

Please sign in to comment.