From d4dce83782b67236d2c8d99ffc9bdc89328bb5de Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 6 Oct 2019 20:11:44 +0200 Subject: get the status of all other containers --- src/migrate.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 src/migrate.sh (limited to 'src/migrate.sh') diff --git a/src/migrate.sh b/src/migrate.sh new file mode 100755 index 0000000..dcc29f6 --- /dev/null +++ b/src/migrate.sh @@ -0,0 +1,9 @@ +files=( $(find . -name '*.go' -not -path './vendor/*') ) + +for rule in \ + 's|"github.com/docker/docker/api|"docker.io/go-docker/api|' \ + 's|^([[:space:]]+)"github.com/docker/docker/client|\1client "docker.io/go-docker|' \ + 's|"github.com/docker/docker/client|"docker.io/go-docker|' \ +; do + sed -i -E "$rule" ${files[*]} +done -- cgit 1.4.1