Skip to content

Commit 550b83b

Browse files
authored
Merge pull request kubernetes#92027 from juliantaylor/fix-rbd-expand
fix expanding rbd volumes without ceph.conf
2 parents 9707537 + da01c8d commit 550b83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/volume/rbd/rbd_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ func (util *rbdUtil) rbdInfo(b *rbdMounter) (int, error) {
712712
//
713713
klog.V(4).Infof("rbd: info %s using mon %s, pool %s id %s key %s", b.Image, mon, b.Pool, id, secret)
714714
output, err = b.exec.Command("rbd",
715-
"info", b.Image, "--pool", b.Pool, "-m", mon, "--id", id, "--key="+secret, "-k=/dev/null", "--format=json").CombinedOutput()
715+
"info", b.Image, "--pool", b.Pool, "-m", mon, "--id", id, "--key="+secret, "-k=/dev/null", "--format=json").Output()
716716

717717
if err, ok := err.(*exec.Error); ok {
718718
if err.Err == exec.ErrNotFound {

0 commit comments

Comments
 (0)