mirror of
https://github.com/genuinetools/reg.git
synced 2024-05-20 12:08:33 -04:00
two small cleanups
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
dc45b9f1b0
commit
f14de4c039
|
@ -27,10 +27,7 @@ func (asm authServiceMock) equalTo(v *authService) bool {
|
|||
}
|
||||
}
|
||||
|
||||
if asm.realm != v.Realm.String() {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return asm.realm == v.Realm.String()
|
||||
}
|
||||
|
||||
func TestParseChallenge(t *testing.T) {
|
||||
|
|
|
@ -261,5 +261,7 @@ func main() {
|
|||
return nil
|
||||
}
|
||||
|
||||
app.Run(os.Args)
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue