File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
components/databricks/actions/edit-sql-warehouse Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,16 @@ export default {
144144 if ( this . autoStopMins !== undefined && this . autoStopMins !== 0 && this . autoStopMins < 10 ) {
145145 throw new Error ( "autoStopMins must be 0 or >= 10." ) ;
146146 }
147- if ( this . minNumClusters !== undefined && ( this . minNumClusters < 1 || this . minNumClusters > 30 ) ) {
147+ if (
148+ this . minNumClusters !== undefined &&
149+ ( this . minNumClusters < 1 || this . minNumClusters > 30 )
150+ ) {
148151 throw new Error ( "minNumClusters must be between 1 and 30." ) ;
149152 }
150- if ( this . maxNumClusters !== undefined && ( this . maxNumClusters < 1 || this . maxNumClusters > 30 ) ) {
153+ if (
154+ this . maxNumClusters !== undefined &&
155+ ( this . maxNumClusters < 1 || this . maxNumClusters > 30 )
156+ ) {
151157 throw new Error ( "maxNumClusters must be between 1 and 30." ) ;
152158 }
153159 if ( this . minNumClusters !== undefined &&
@@ -167,6 +173,6 @@ export default {
167173
168174 $ . export ( "$summary" , `Successfully edited SQL Warehouse ID ${ this . warehouseId } ` ) ;
169175 return response ;
170- }
176+ } ,
171177
172178} ;
You can’t perform that action at this time.
0 commit comments