File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import exitHook from 'exit-hook'
2- import { omit } from 'lodash'
2+ import { omit , kebabCase } from 'lodash'
33import {
44 deletePod ,
55 portForward ,
@@ -40,7 +40,7 @@ export const deleteConfiguration = (configuratioName: string): void => {
4040
4141export const execConfiguration = ( configuration : Configuration ) => {
4242 const pod = {
43- name : `sql-proxy-${ configuration . configurationName } -${ randomString ( ) } ` ,
43+ name : `sql-proxy-${ kebabCase ( configuration . configurationName ) } -${ randomString ( ) } ` ,
4444 context : configuration . kubernetesContext ,
4545 namespace : configuration . kubernetesNamespace ,
4646 serviceAccount : configuration . kubernetesServiceAccount ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export const notifyForUpdates = () => {
1515 updateCheckInterval : oneDayMs ,
1616 } )
1717
18- if ( update ) {
18+ if ( update && update . current !== update . latest ) {
1919 const text =
2020 `${ yellow ( update . current ) } ↦ ${ green ( update . latest ) } \n\n` +
2121 `${ blue ( 'brew' ) } upgrade ${ name } \n` +
You can’t perform that action at this time.
0 commit comments