Skip to content

Commit 6664e9b

Browse files
committed
Remove hack to return list of programmers calling upload command
1 parent ed81fc5 commit 6664e9b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Diff for: cli/upload/upload.go

-15
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,6 @@ func run(command *cobra.Command, args []string) {
6868
os.Exit(errorcodes.ErrGeneric)
6969
}
7070

71-
if programmer == "list" {
72-
resp, err := upload.ListProgrammersAvailableForUpload(context.Background(), &rpc.ListProgrammersAvailableForUploadReq{
73-
Instance: instance,
74-
Fqbn: fqbn,
75-
})
76-
if err != nil {
77-
feedback.Errorf("Error listing programmers: %v", err)
78-
os.Exit(errorcodes.ErrGeneric)
79-
}
80-
feedback.PrintResult(&programmersList{
81-
Programmers: resp.GetProgrammers(),
82-
})
83-
os.Exit(0)
84-
}
85-
8671
var path *paths.Path
8772
if len(args) > 0 {
8873
path = paths.New(args[0])

0 commit comments

Comments
 (0)