ing
This commit is contained in:
parent
66a0253292
commit
3d84022b30
|
@ -45,6 +45,10 @@ var (
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func ToContainerType(v string) ContainerType {
|
||||||
|
return containerTypeName[v]
|
||||||
|
}
|
||||||
|
|
||||||
func (ct ContainerType) String() string {
|
func (ct ContainerType) String() string {
|
||||||
return containerTypeID[ct]
|
return containerTypeID[ct]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user