Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-lobocki committed Jul 31, 2024
1 parent 914fb2b commit d74556d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions cmd/command_dbtable.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ func dbTableMain(args []string) {
}

// Close the database.
err = db.Close()
if err != nil {
if err = db.Close(); err != nil {
logError.Fatalln(err)
}

Expand Down
3 changes: 1 addition & 2 deletions cmd/command_sshcerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ func exportSshMain(args []string) {
}

// Close the database.
err = db.Close()
if err != nil {
if err = db.Close(); err != nil {
logError.Fatalln(err)
}

Expand Down
3 changes: 1 addition & 2 deletions cmd/command_x509certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ func exportX509Main(args []string) {
}

// Close the database.
err = db.Close()
if err != nil {
if err = db.Close(); err != nil {
logError.Fatalln(err)
}

Expand Down
1 change: 0 additions & 1 deletion cmd/output_x509certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ func emitX509Table(thisX509CertsWithRevocations []tX509CertificateProvisionerRev
var header []string
for _, column := range columns {
if column.isShown(config) {

header = append(header,
color.New(column.titleColor).SprintFunc()(
column.title(),
Expand Down

0 comments on commit d74556d

Please sign in to comment.