local state: fix failing tests

This commit is contained in:
Frank Schroeder 2017-08-28 14:17:14 +02:00
parent b803bf3091
commit d2cc0e6e8a
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ func TestAgent_PersistService(t *testing.T) {
if got, want := restored.Token, "mytoken"; got != want {
t.Fatalf("got token %q want %q", got, want)
}
if got, want := restored.Service.Port, 8081; got != want {
if got, want := restored.Service.Port, 8001; got != want {
t.Fatalf("got port %d want %d", got, want)
}
}