Skip to content

Commit

Permalink
[Bug] Fix #2579
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed committed Mar 4, 2024
1 parent f40df34 commit 81c6675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dao/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func AccessorFor(f Factory, gvr client.GVR) (Accessor, error) {
client.NewGVR("v1/pods"): &Pod{},
client.NewGVR("v1/nodes"): &Node{},
client.NewGVR("v1/namespaces"): &Namespace{},
client.NewGVR("v1/configmap"): &ConfigMap{},
client.NewGVR("v1/configmaps"): &ConfigMap{},
client.NewGVR("v1/secrets"): &Secret{},
client.NewGVR("apps/v1/deployments"): &Deployment{},
client.NewGVR("apps/v1/daemonsets"): &DaemonSet{},
Expand Down
1 change: 1 addition & 0 deletions internal/model1/table_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ func (t *TableData) sortCol(vs *config.ViewSetting) (SortColumn, error) {
psc.Name = t.header[0].Name
}
}
psc.ASC = true

return psc, nil
}
Expand Down

0 comments on commit 81c6675

Please sign in to comment.