Compare commits

...

2 Commits

Author SHA1 Message Date
8b15f2de5b chore: publish new release 2021-10-21 16:03:19 +02:00
cdb76e7276 fix: catch multiple containers correctly 2021-10-21 16:01:54 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -64,10 +64,10 @@ var appRunCommand = &cli.Command{
logrus.Fatal(err)
}
switch len(containers) {
case 0:
if len(containers) == 0 {
logrus.Fatalf("no containers matching '%s' found?", stackAndServiceName)
case 1:
}
if len(containers) > 1 {
logrus.Fatalf("expected 1 container matching '%s' but got %d", stackAndServiceName, len(containers))
}

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
ABRA_VERSION="0.2.1-alpha"
ABRA_VERSION="0.2.2-alpha"
ABRA_RELEASE_URL="https://git.coopcloud.tech/api/v1/repos/coop-cloud/abra/releases/tags/$ABRA_VERSION"
function show_banner {