diff --git a/pkg/cmd/repo/deploy-key/list/list.go b/pkg/cmd/repo/deploy-key/list/list.go index 11623a679..537599fe5 100644 --- a/pkg/cmd/repo/deploy-key/list/list.go +++ b/pkg/cmd/repo/deploy-key/list/list.go @@ -25,8 +25,8 @@ var deployKeyFields = []string{ "id", "key", "title", - "created_at", - "read_only", + "createdAt", + "readOnly", } func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command { diff --git a/pkg/cmd/secret/list/list.go b/pkg/cmd/secret/list/list.go index b2b01834e..dae097fce 100644 --- a/pkg/cmd/secret/list/list.go +++ b/pkg/cmd/secret/list/list.go @@ -32,11 +32,11 @@ type ListOptions struct { } var secretFields = []string{ - "selected_repos_url", + "selectedReposURL", "name", "visibility", - "updated_at", - "num_selected_repos", + "updatedAt", + "numSelectedRepos", } func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command {