added release notes + code fmt

mine
derailed 2019-02-18 23:12:35 -07:00
parent 024ce3bb80
commit 3d4d3cba2c
7 changed files with 41 additions and 6 deletions

View File

@ -0,0 +1,35 @@
# Release v0.1.3
<br/>
---
## Notes
Thank you to all that contributed with flushing out issues with K9s! I'll try
to mark some of these issues as fixed. But if you don't mind grab the latest
rev and see if we're happier with some of the fixes!
If you've file an issue please help me verify and close.
Thank you so much for your support!!
<br/>
---
## Change Logs
<br/>
+ IMPORTANT! Breaking change! The K9s config was changed
If K9s does not launch, move over .k9s/config.yml
+ Reworked CLI args to better support contexts
---
## Resolved Bugs
+ [Issue #67](https://github.com/derailed/k9s/issues/67)
+ [Issue #65](https://github.com/derailed/k9s/issues/65)
+ [Issue #64](https://github.com/derailed/k9s/issues/64)
+ [Issue #60](https://github.com/derailed/k9s/issues/60)
+ [Issue #57](https://github.com/derailed/k9s/issues/57)
+ [Issue #56](https://github.com/derailed/k9s/issues/56)

View File

@ -11,7 +11,6 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"k8s.io/cli-runtime/pkg/genericclioptions"
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
const (

View File

@ -66,6 +66,6 @@ func (v *cmdView) active(f bool) {
v.activate()
} else {
log.Debug("CmdView was deactivated!")
v.Clear()
v.Clear()
}
}

View File

@ -1,6 +1,6 @@
package views
import(
import (
log "github.com/sirupsen/logrus"
)

View File

@ -1,8 +1,8 @@
package views
import (
"github.com/derailed/k9s/internal/resource"
"github.com/derailed/k9s/internal/k8s"
"github.com/derailed/k9s/internal/resource"
"github.com/gdamore/tcell"
)

View File

@ -77,7 +77,7 @@ func (v *tableView) keyboard(evt *tcell.EventKey) *tcell.EventKey {
switch evt.Rune() {
case v.cmdBuff.hotKey:
if !v.app.cmdView.inCmdMode() {
v.app.flash(flashInfo,"Entering filtering mode...")
v.app.flash(flashInfo, "Entering filtering mode...")
log.Info("K9s entering filtering mode...")
v.cmdBuff.setActive(true)
}
@ -87,7 +87,7 @@ func (v *tableView) keyboard(evt *tcell.EventKey) *tcell.EventKey {
}
if a, ok := v.actions[key]; ok {
if ! v.app.cmdView.inCmdMode() {
if !v.app.cmdView.inCmdMode() {
a.action(evt)
}
}

View File

@ -6,6 +6,7 @@ import (
"github.com/derailed/k9s/internal/cmd"
"github.com/derailed/k9s/internal/config"
log "github.com/sirupsen/logrus"
_ "k8s.io/client-go/plugin/pkg/client/auth"
)
func init() {