Skip to content

Commit

Permalink
fix etcd ls thing
Browse files Browse the repository at this point in the history
  • Loading branch information
simonccc committed Aug 10, 2024
1 parent 986213d commit a2c41bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## 💐 image <a name=image>
### create
- deletes any existing template
- downloads the configured cloud image
- downloads the cloud image from the url defined in kopsrox.ini
- installs `qemu-guest-agent` into the image via `virt-customise`
- imports the disk into proxmox storage using a `sudo qm` command
- creates cloudinit drive with cloudinit data
Expand Down
2 changes: 1 addition & 1 deletion lib/verb_etcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def list_snapshots():
for line in sorted(ls):

# if cluster name matches the s3 line append to the images string
if re.search(cluster_name, line):
if re.search('s3', line) and re.search(cluster_name, line):
images += line+'\n'

# return images string
Expand Down

0 comments on commit a2c41bf

Please sign in to comment.