refactor: use ; trick for inline checking [ci skip]

This commit is contained in:
decentral1se 2021-10-11 13:48:25 +02:00
parent 36ff50312c
commit 44dc0edf7b
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -111,8 +111,7 @@ or a rollback of an app.
} }
if tagstring != "" { if tagstring != "" {
_, err := tagcmp.Parse(tagstring) if _, err := tagcmp.Parse(tagstring); err != nil {
if err != nil {
logrus.Fatal("invalid tag specified") logrus.Fatal("invalid tag specified")
} }
} }