Skip to content

Commit 6735f71

Browse files
committed
Fix read certificate data when certificate file system path is provided
1 parent ccc1a43 commit 6735f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/read_certificate_data.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var readCertificateDataCmd = &cobra.Command{
6767
log.Println(err)
6868
os.Exit(1)
6969
}
70-
} else if certificateId != "" && certIdentifier == (helper.CertIdentifier{}) {
70+
} else if certificateId != "" {
7171
data, err := helper.ReadCertificateData(certificateId)
7272
if err != nil {
7373
os.Exit(1)

0 commit comments

Comments
 (0)