Skip to content

Commit

Permalink
Merge pull request #46 from depot/fix-no-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Jul 6, 2023
2 parents 8d3159b + 55fed0e commit abc530f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/ceph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export async function authRm(clientName: ClientName) {

export async function imageRm(imageSpec: ImageSpec) {
console.log('Removing ceph image', imageSpec)
const {exitCode, stderr} = await execa('rbd', ['rm', imageSpec], {reject: false, stdio: 'inherit'})
const {exitCode, stderr} = await execa('rbd', ['rm', '--no-progress', imageSpec], {reject: false, stdio: 'inherit'})
// 2 is "image does not exist" a.k.a ENOENT.
if (exitCode === 0 || exitCode === 2) {
return
Expand All @@ -118,7 +118,7 @@ export async function imageRm(imageSpec: ImageSpec) {

export async function namespaceRm(poolSpec: PoolSpec) {
console.log('Removing ceph namespace', poolSpec)
const {exitCode, stderr} = await execa('rbd', ['namespace', 'rm', '--no-progress', poolSpec], {
const {exitCode, stderr} = await execa('rbd', ['namespace', 'rm', poolSpec], {
reject: false,
stdio: 'inherit',
})
Expand Down

0 comments on commit abc530f

Please sign in to comment.