mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 18:06:47 +00:00
Catch all kind docker interfaces
This commit is contained in:
parent
ea0b058721
commit
bc0afb0032
@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
// Compile the expression once, usually at init time.
|
// Compile the expression once, usually at init time.
|
||||||
// Use raw strings to avoid having to quote the backslashes.
|
// Use raw strings to avoid having to quote the backslashes.
|
||||||
var dockerMatch = regexp.MustCompile(`(docker[0-9])|(rce[0-9])`)
|
var dockerMatch = regexp.MustCompile(`(docker[0-9]+)|(rce[0-9]+)`)
|
||||||
|
|
||||||
// API response sent from gosupervisor
|
// API response sent from gosupervisor
|
||||||
type APIResponse struct {
|
type APIResponse struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user