mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 13:21:01 +00:00
refactor: make compression alg string to reuse in cli flags
This commit is contained in:
parent
f46e5504fc
commit
c4280aa898
1 changed files with 3 additions and 3 deletions
|
|
@ -46,10 +46,10 @@ type UploadOptions struct {
|
||||||
DebugSkipResourceCleanup bool
|
DebugSkipResourceCleanup bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type Compression int
|
type Compression string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CompressionNone Compression = iota
|
CompressionNone Compression = ""
|
||||||
CompressionBZ2
|
CompressionBZ2 Compression = "bz2"
|
||||||
// zip,xz,zstd
|
// zip,xz,zstd
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue