mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 19:10:21 +00:00
47b202554e
This commit adds the Azure SDK for Azure key vault KMS integration to the Ceph CSI driver. Signed-off-by: Praveen M <m.praveen@ibm.com>
15 lines
288 B
Go
15 lines
288 B
Go
package browser
|
|
|
|
import (
|
|
"errors"
|
|
"os/exec"
|
|
)
|
|
|
|
func openBrowser(url string) error {
|
|
err := runCmd("xdg-open", url)
|
|
if e, ok := err.(*exec.Error); ok && e.Err == exec.ErrNotFound {
|
|
return errors.New("xdg-open: command not found - install xdg-utils from pkgsrc(7)")
|
|
}
|
|
return err
|
|
}
|