Skip to content

Commit cbee4b5

Browse files
authored
Fix visibility system calling (#1322)
1 parent 42a4c4d commit cbee4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/usage/visibility_system_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (vsm *VisibilitySystemManager) createMetric(commandName string) services.Vi
3939
}
4040

4141
func (vsm *VisibilitySystemManager) SendUsage(commandName string) error {
42-
manager, err := utils.CreateJfConnectServiceManager(vsm.serverDetails, -1, 0)
42+
manager, err := utils.CreateJfConnectServiceManager(vsm.serverDetails, 1, 0)
4343
if err != nil {
4444
return err
4545
}

0 commit comments

Comments
 (0)