Skip to content

Commit

Permalink
cli/start: remove non-useful comments
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
knz committed Oct 28, 2022
1 parent 963e1be commit abfaeab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/cli/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ func runStart(cmd *cobra.Command, args []string, startSingleNode bool) error {
maybeRunInitialSQL := func(ctx context.Context, s serverStartupInterface) error {
// Run SQL for new clusters.
//
// TODO(knz): If/when we want auto-creation of an initial admin user,
// this can be achieved here.
// The adminUser/adminPassword fields are for the benefit of 'cockroach demo'
// only and not used here.
return runInitialSQL(ctx, s.(*server.Server), startSingleNode, "" /* adminUser */, "" /* adminPassword */)
}

Expand Down Expand Up @@ -540,7 +540,6 @@ func runStartInternal(
}

// Configure the default storage engine.
// NB: we only support one engine type for now.
if serverCfg.StorageEngine == enginepb.EngineTypeDefault {
serverCfg.StorageEngine = enginepb.EngineTypePebble
}
Expand Down

0 comments on commit abfaeab

Please sign in to comment.