Skip to content

Commit

Permalink
rename parameter to match go style
Browse files Browse the repository at this point in the history
  • Loading branch information
cncws committed Aug 23, 2024
1 parent 9095467 commit bb957c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func init() {
cli = client.NewJmsClient(serverURL, accessKey, secretKey, 3)
}

func handleRDP(asset_id string) error {
func handleRDP(assetID string) error {
log.Println("下载连接令牌...")
token, err := cli.GenRDPToken(asset_id, account)
token, err := cli.GenRDPToken(assetID, account)
if err != nil {
return err
}
Expand Down

0 comments on commit bb957c9

Please sign in to comment.