Commit 0010e021 authored by Jerzy Szczepkowski's avatar Jerzy Szczepkowski

Fixed formatting.

parent ad4c2ee6
......@@ -25,8 +25,8 @@ import (
// Allowed returns true if pods is a collection of bound pods
// which can run without conflict on a single minion.
func Allowed(pods []api.BoundPod) error {
if (PortsConflict(pods)) {
return fmt.Errorf("conflicting ports");
if PortsConflict(pods) {
return fmt.Errorf("conflicting ports")
}
return nil;
return nil
}
......@@ -41,8 +41,8 @@ func podWithContainers(containers ...api.Container) api.BoundPod {
func TestAllowed(t *testing.T) {
table := []struct {
err error
pods []api.BoundPod
err error
pods []api.BoundPod
}{
{
err: nil,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment