Skip to content

Commit a1dac32

Browse files
committed
small fix in tink template list
Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>
1 parent 0c8a6fc commit a1dac32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/tink-cli/cmd/template/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ func listTemplates() {
6363

6464
var tmp *template.WorkflowTemplate
6565
for tmp, err = list.Recv(); err == nil && tmp.Name != ""; tmp, err = list.Recv() {
66-
printOutput(t, tmp)
66+
printOutput(tmp)
6767
}
6868

6969
if err != nil && err != io.EOF {
7070
log.Fatal(err)
7171
}
7272
}
7373

74-
func printOutput(t table.Writer, tmp *template.WorkflowTemplate) {
74+
func printOutput(tmp *template.WorkflowTemplate) {
7575
if quiet {
7676
fmt.Println(tmp.Id)
7777
} else {

0 commit comments

Comments
 (0)