rebase master

This commit is contained in:
Tuna
2016-08-12 10:38:33 +07:00
parent baedd92036
commit 469b50c33d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ limitations under the License.
package kobject
import (
"fmt"
"github.com/Sirupsen/logrus"
"github.com/fatih/structs"
)
@@ -180,7 +180,7 @@ func CheckUnsupportedKey(service interface{}) {
for _, f := range s.Fields() {
if f.IsExported() && !f.IsZero() && f.Name() != "Networks" {
if count, ok := unsupportedKey[f.Name()]; ok && count == 0 {
fmt.Println("WARNING: Unsupported key " + composeOptions[f.Name()] + " - ignoring")
logrus.Warningf("Unsupported key %s - ignoring", composeOptions[f.Name()])
unsupportedKey[f.Name()]++
}
}