Fix gofmt errors

Kubernetes-commit: 6681835b0c00122a408bd4addd47b02840b6208c
This commit is contained in:
Christoph Blecker
2017-03-28 17:12:04 -07:00
committed by Kubernetes Publisher
parent b128bee2cc
commit ad53524c7c
2 changed files with 9 additions and 9 deletions

View File

@@ -307,13 +307,13 @@ func TestUpdate(t *testing.T) {
// asynchronous, there are a lot of valid possibilities.
type pair struct{ from, to string }
allowedTransitions := map[pair]bool{
pair{FROM, TO}: true,
{FROM, TO}: true,
// Because a resync can happen when we've already observed one
// of the above but before the item is deleted.
pair{TO, TO}: true,
{TO, TO}: true,
// Because a resync could happen before we observe an update.
pair{FROM, FROM}: true,
{FROM, FROM}: true,
}
pod := func(name, check string, final bool) *v1.Pod {