etcd-operator icon indicating copy to clipboard operation
etcd-operator copied to clipboard

fix sort, with a helper so the sort is done 'naturally'

Open jurgenweber opened this issue 5 years ago • 4 comments

Please read https://github.com/coreos/etcd-operator/blob/master/CONTRIBUTING.md#contribution-flow

I hit the edge case that when it sorts, it thinks

etcd_v1066060_2019-07-02-02:51:51 is smaller/older than etcd_v999523_2019-06-30-14:56:49

because it is sorting on the first digit only.

Added all the stuff needed to sort this properly.

right now the periodic backup is continually deleting the same file.

jurgenweber avatar Jul 02 '19 04:07 jurgenweber

Can one of the admins verify this patch?

etcd-bot avatar Jul 02 '19 04:07 etcd-bot

Can one of the admins verify this patch?

etcd-bot avatar Jul 02 '19 04:07 etcd-bot

Can one of the admins verify this patch?

etcd-bot avatar Jul 02 '19 04:07 etcd-bot

so I built the image and used it overnight, it works as expected now.

Thanks

jurgenweber avatar Jul 03 '19 00:07 jurgenweber