Fixed formatting.

This commit is contained in:
Jerzy Szczepkowski 2015-02-05 00:52:34 +01:00
parent ad4c2ee630
commit 0010e02148
2 changed files with 5 additions and 5 deletions

View File

@ -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
}