8000 feat(cli): allow showing schedules for multiple workspaces by johnstcn · Pull Request #10596 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat(cli): allow showing schedules for multiple workspaces #10596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
return err for completeness
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
  • Loading branch information
johnstcn and mafredri authored Nov 10, 2023
commit 5d74fea5047ca2b0ea190bf2d1291c27db5d4e0a
4 changes: 2 additions & 2 deletions cli/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ func displaySchedule(ws codersdk.Workspace, out io.Writer) error {
if err != nil {
return err
}
_, _ = fmt.Fprintln(out, rendered)
return nil
_, err = fmt.Fprintln(out, rendered)
return err
}

// scheduleListRow is a row in the schedule list.
Expand Down
0