Fix gofmt & golint

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #412
Approved by: baude
This commit is contained in:
Matthew Heon
2018-02-27 15:36:36 -05:00
committed by Atomic Bot
parent 780baec1d9
commit 83d7ae6506
5 changed files with 13 additions and 14 deletions

View File

@ -313,7 +313,7 @@ func (s *SQLState) UpdateContainer(ctr *Container) error {
&netNSPath,
&ipAddress,
&subnetMask,
&execSessions)
&execSessions)
if err != nil {
// The container may not exist in the database
if err == sql.ErrNoRows {