Skip to content

Commit

Permalink
Merge pull request #4797 from jnsgruk/snap-common-for-profiles
Browse files Browse the repository at this point in the history
fix(snap): store profiles in SNAP_COMMON by default
  • Loading branch information
brancz authored Jun 24, 2024
2 parents db964de + 3f55898 commit ded0a17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snap/hooks/configure
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ if [[ -z "$remote_store_token" ]]; then
snapctl set remote-store-bearer-token=""
fi

mkdir -p "${SNAP_DATA}/profiles"
mkdir -p "${SNAP_COMMON}/profiles"
cp -pnr "${SNAP}/usr/share/parca/example-config.yaml" "${SNAP_DATA}/parca.yaml"
2 changes: 1 addition & 1 deletion snap/parca-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ else
if [[ "${storage_persist}" == "true" ]]; then
opts+=(
"--enable-persistence=true"
"--storage-path=${SNAP_DATA}/profiles"
"--storage-path=${SNAP_COMMON}/profiles"
)
else
opts+=(
Expand Down

0 comments on commit ded0a17

Please sign in to comment.