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
1 changed files with 1 additions and 2 deletions

View File

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