forked from coop-cloud/abra
refactor: use ; trick for inline checking [ci skip]
This commit is contained in:
parent
36ff50312c
commit
44dc0edf7b
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue