mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
allow variable comptype
This commit is contained in:
@@ -364,7 +364,7 @@ type CompGenPacketType struct {
|
||||
}
|
||||
|
||||
func IsValidCompGenType(t string) bool {
|
||||
return (t == "file" || t == "command" || t == "directory")
|
||||
return (t == "file" || t == "command" || t == "directory" || t == "variable")
|
||||
}
|
||||
|
||||
func (*CompGenPacketType) GetType() string {
|
||||
|
||||
Reference in New Issue
Block a user