Skip to content

Commit

Permalink
move orig field to the bottom of the list
Browse files Browse the repository at this point in the history
  • Loading branch information
Phani Raj committed Aug 13, 2021
1 parent b3c000f commit 6ed6315
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/passwords/passwords.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func toPasswordWithPlainText(password *ps.DatabaseBranchPassword) *PasswordWithP
AccessHostUrl: password.Branch.AccessHostURL,
Role: password.Role,
RoleDesc: toRoleDesc(password.Role),
orig: password,
ConnectionStrings: password.ConnectionStrings,
orig: password,
}
}

Expand Down
1 change: 0 additions & 1 deletion internal/cmd/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ func formatMySQLBranch(database, branch string) string {
return fmt.Sprintf("%s/%s> ", database, branch)
}


func historyFilePath(org, db, branch string) (string, error) {
dir, err := homedir.Dir()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/token/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func ListCmd(ch *cmdutil.Helper) *cobra.Command {
}

end()

if len(tokens) == 0 && ch.Printer.Format() == printer.Human {
ch.Printer.Println("No service tokens have been created yet.")
return nil
Expand Down

0 comments on commit 6ed6315

Please sign in to comment.