Skip to content

Commit 7008981

Browse files
Merge pull request #171 from docker/fix-teams-members-output
Fix org members and teams command output
2 parents 0c07423 + 6c48a7e commit 7008981

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: internal/commands/org/members.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,5 @@ func printMembers(out io.Writer, values interface{}) error {
9393
tw.Line()
9494
}
9595

96-
return nil
96+
return tw.Flush()
9797
}

Diff for: internal/commands/org/teams.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ func printTeams(out io.Writer, values interface{}) error {
9898
tw.Line()
9999
}
100100

101-
return nil
101+
return tw.Flush()
102102
}

0 commit comments

Comments
 (0)