Skip to content

Commit

Permalink
refactor: Updating variables to follow convention
Browse files Browse the repository at this point in the history
  • Loading branch information
ngerakines authored Dec 19, 2024
1 parent 55df0a7 commit b7bd2ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/goat/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ func runBlobExport(cctx *cli.Context) error {
return err
}

pds_host := cctx.String("pds-host")
if pds_host == "" {
pds_host = ident.PDSEndpoint()
pdsHost := cctx.String("pds-host")
if pdsHost == "" {
pdsHost = ident.PDSEndpoint()
}

// create a new API client to connect to the account's PDS
xrpcc := xrpc.Client{
Host: pds_host,,
Host: pdsHost,
}
if xrpcc.Host == "" {
return fmt.Errorf("no PDS endpoint for identity")
Expand Down

0 comments on commit b7bd2ee

Please sign in to comment.