Skip to content

Commit

Permalink
fix: bug where we passed cloud user id for cloud instance id (#1465)
Browse files Browse the repository at this point in the history
## Description:
Metrics would show cloud user id instead of cloud instance id as we
passed the wrong value; this fixes it

## Is this change user facing?
NO
  • Loading branch information
h4ck3rk3y authored Oct 4, 2023
1 parent cd0c146 commit 65b749c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli/commands/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func run(
} else {
if store.IsRemote(currentContext) {
cloudUserId = currentContext.GetRemoteContextV0().GetCloudUserId()
cloudInstanceId = currentContext.GetRemoteContextV0().GetCloudUserId()
cloudInstanceId = currentContext.GetRemoteContextV0().GetCloudInstanceId()
}
}

Expand Down

0 comments on commit 65b749c

Please sign in to comment.