diff --git a/go.mod b/go.mod index eb55883d9..36e294b62 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.2 require ( github.com/google/uuid v1.6.0 github.com/longhorn/backupstore v0.0.0-20240811043357-5c2b7879457f - github.com/longhorn/go-common-libs v0.0.0-20240820144159-94447d3f68d8 + github.com/longhorn/go-common-libs v0.0.0-20240821134112-907f57efd48f github.com/longhorn/go-spdk-helper v0.0.0-20240811121608-9383fa59dd7c github.com/longhorn/longhorn-engine v1.7.0-rc3 github.com/longhorn/longhorn-spdk-engine v0.0.0-20240815033436-41791a2d0239 diff --git a/go.sum b/go.sum index 38830780e..30ee294eb 100644 --- a/go.sum +++ b/go.sum @@ -100,8 +100,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/longhorn/backupstore v0.0.0-20240811043357-5c2b7879457f h1:VBXKJ+BJoqhz+PGmHxDl6h+aWX9X9N3KQm1cxz4fv/w= github.com/longhorn/backupstore v0.0.0-20240811043357-5c2b7879457f/go.mod h1:U02ktOpAMSejR4vUztX2zt/78btYsUICDH5AipTddu4= -github.com/longhorn/go-common-libs v0.0.0-20240820144159-94447d3f68d8 h1:VPVCEhOugxbmMi1dVtkV5h52DS/I891SEPAZHqUYsc0= -github.com/longhorn/go-common-libs v0.0.0-20240820144159-94447d3f68d8/go.mod h1:Qv34svr/msf6XoUwnrltNBTwMhQljbHEhb5ZKWiRdxo= +github.com/longhorn/go-common-libs v0.0.0-20240821134112-907f57efd48f h1:hjqUs3WVodkzrWwlUMVsnKAlom3uohoNlhZBGLsRvQY= +github.com/longhorn/go-common-libs v0.0.0-20240821134112-907f57efd48f/go.mod h1:Qv34svr/msf6XoUwnrltNBTwMhQljbHEhb5ZKWiRdxo= github.com/longhorn/go-iscsi-helper v0.0.0-20240727052644-d2442a50e906 h1:1FoEoyIQRtKAKv3O8MJ1nczly3+WMzbFbjT3pmakpWw= github.com/longhorn/go-iscsi-helper v0.0.0-20240727052644-d2442a50e906/go.mod h1:/VLElLs6+hjmkY7VQn92W8MO56HVvLJUSNBQitOB0fY= github.com/longhorn/go-spdk-helper v0.0.0-20240811121608-9383fa59dd7c h1:ztjrkxi7KcZPZBexnSKBZ2fX75JIU+iXibXeq8qpeg4= diff --git a/vendor/github.com/longhorn/go-common-libs/longhorn/longhorn.go b/vendor/github.com/longhorn/go-common-libs/longhorn/longhorn.go index 735322e08..7f5e68e87 100644 --- a/vendor/github.com/longhorn/go-common-libs/longhorn/longhorn.go +++ b/vendor/github.com/longhorn/go-common-libs/longhorn/longhorn.go @@ -24,5 +24,5 @@ func GetVolumeNameFromReplicaDataDirectoryName(replicaName string) (string, erro // IsEngineProcess distinguish if the process is a engine process by its name. func IsEngineProcess(processName string) bool { // engine process name example: pvc-5a8ee916-5989-46c6-bafc-ddbf7c802499-e-0 - return regexp.MustCompile(`.+?-e-[^-]*\d$`).MatchString(processName) + return regexp.MustCompile(`.+?-e-[^-]*$`).MatchString(processName) } diff --git a/vendor/modules.txt b/vendor/modules.txt index 2ecb07b45..c64574518 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -203,7 +203,7 @@ github.com/longhorn/backupstore/s3 github.com/longhorn/backupstore/types github.com/longhorn/backupstore/util github.com/longhorn/backupstore/vfs -# github.com/longhorn/go-common-libs v0.0.0-20240820144159-94447d3f68d8 +# github.com/longhorn/go-common-libs v0.0.0-20240821134112-907f57efd48f ## explicit; go 1.22.0 github.com/longhorn/go-common-libs/backup github.com/longhorn/go-common-libs/bitmap