mirror of https://github.com/containers/podman.git
				
				
				
			Fix build after c/image changes
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #505 Approved by: rhatdan
This commit is contained in:
		
							parent
							
								
									b8386ce9e0
								
							
						
					
					
						commit
						c08a1e0b11
					
				|  | @ -67,7 +67,10 @@ func loginCmd(c *cli.Context) error { | |||
| 	sc := common.GetSystemContext("", c.String("authfile"), false) | ||||
| 
 | ||||
| 	// username of user logged in to server (if one exists)
 | ||||
| 	userFromAuthFile := config.GetUserLoggedIn(sc, server) | ||||
| 	userFromAuthFile, err := config.GetUserLoggedIn(sc, server) | ||||
| 	if err != nil { | ||||
| 		return errors.Wrapf(err, "error getting logged-in user") | ||||
| 	} | ||||
| 	username, password, err := getUserAndPass(c.String("username"), c.String("password"), userFromAuthFile) | ||||
| 	if err != nil { | ||||
| 		return errors.Wrapf(err, "error getting username and password") | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue