Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding output to debug macos error #1763

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion github_scripts/osx_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ popd

# Build XRootD from source
# Add patches to xrootd source code if needed
git clone --depth=1 https://github.com/xrootd/xrootd.git
git clone https://github.com/xrootd/xrootd.git
pushd xrootd
git checkout tags/v5.7.1
patch -p1 < $scriptdir/pelican_protocol.patch
mkdir xrootd_build
cd xrootd_build
Expand Down
3 changes: 3 additions & 0 deletions local_cache/local_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,9 @@ func (lc *LocalCache) Stat(path, token string) (uint64, error) {
dUrl.Path = path
dUrl.Scheme = "pelican"
statInfo, err := client.DoStat(context.Background(), dUrl.String(), client.WithToken(token))
if err != nil {
return 0, err
}
return uint64(statInfo.Size), err
}

Expand Down
Loading