hunk.code_window: }
   // ParseEndpoint ensures the endpoint is valid.
   func (s *ServerConfig) ParseEndpoint() error {
   	nurl, err := url.Parse(s.Endpoint)
   	if err != nil {
   		return err
   	}
   	s.ParsedEndpoint = nurl
   	return nil
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: 	nurl, err := url.ParseRequestURI(s.Endpoint)
  
hunk.file_path: cli/cli.go
hunk.type: replace
file: type: bulk
  args:
  - type: run_sql
    args:
      sql: DROP TABLE test;
  