commit 54494d2311892cf0b7f3e13705faa3922fb11517
Author: Russell Tweed <email address hidden>
Date: Fri Feb 21 10:07:51 2020 +0000
Only show sudo hints when relevant
Error message suggesting use of sudo was showing for all exceptions when deleting an image. This change restricts this to only show the 'use sudo' hint when a permissions problem has actually occurred.
Reviewed: https:/ /review. opendev. org/709087 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=54494d23118 92cf0b7f3e13705 faa3922fb11517
Committed: https:/
Submitter: Zuul
Branch: master
commit 54494d2311892cf 0b7f3e13705faa3 922fb11517
Author: Russell Tweed <email address hidden>
Date: Fri Feb 21 10:07:51 2020 +0000
Only show sudo hints when relevant
Error message suggesting use of sudo was showing for all exceptions when deleting an image. This change restricts this to only show the 'use sudo' hint when a permissions problem has actually occurred.
Change-Id: Id976f04e24ce12 be0f7b7b3cc9e00 487b31efe30
Closes-Bug: 1859729