hunk.code_window: 	return errors.New("upgrade failed: server should have been restarted by the updater")
   }
   func (service *service) checkImageForDocker(ctx context.Context, image string, skipPullImage bool) error {
   	cli, err := client.NewClientWithOpts(client.FromEnv)
   	if err != nil {
   		return errors.Wrap(err, "failed to create docker client")
   	}
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit: 	cli, err := client.NewClientWithOpts(
   		client.FromEnv,
   		client.WithAPIVersionNegotiation(),
   	)
  
hunk.file_path: api/internal/upgrade/upgrade_docker.go
hunk.type: replace
file: <svg width="auto" height="auto" viewBox="0 0 37 41" fill="none" xmlns="http://www.w3.org/2000/svg">
      <g clip-path="url(#clip0_11049_510847)">
          <path d="M13.2486 34.6999C13.1255 34.6999 13.0025 34.6675 12.8931 34.6027L1.34493 27.7706C1.13206 27.6448 1 27.4122 1 27.1636V12.6471C1 12.3949 1.13523 12.1607 1.35339 12.0354L13.9776 4.79229C14.1942 4.66803 14.463 4.66909 14.678 4.79601L26.0065 11.4523C26.2236 11.5803 26.3535 11.8076 26.3535 12.0604C26.3535 12.3137 26.2236 12.5409 26.0059 12.6684L13.9491 19.7389V33.9963C13.9491 34.2485 13.8138 34.4827 13.5962 34.6075C13.489 34.6691 13.3685 34.6999 13.2486 34.6999V34.6999ZM1.84517 27.0803L13.1039 33.7414V19.655C13.1039 19.4054 13.237 19.1723 13.4515 19.047L25.3662 12.0604L14.3241 5.57183L1.84517 12.7316V27.0803Z"
                fill="url(#paint0_linear_11049_510847)"/>
          <path d="M15.7668 34.703C15.6459 34.703 15.5254 34.6717 15.4172 34.6096C15.2006 34.4842 15.0664 34.2506 15.0664 33.9994V27.8475C15.0664 27.5985 15.199 27.3659 15.4129 27.24L21.0428 23.9244V17.1358C21.0428 16.8878 21.1749 16.6552 21.3872 16.5294L26.9215 13.2477C27.1375 13.1197 27.4069 13.1176 27.6246 13.2429C27.8422 13.3677 27.9774 13.6024 27.9774 13.8541V27.2836C27.9774 27.5337 27.8438 27.7668 27.6288 27.8927L16.1176 34.6085C16.0093 34.6717 15.8878 34.7035 15.7658 34.7035L15.7668 34.703ZM15.9116 27.9304V33.7461L27.1333 27.1992V14.109L21.888 17.2186V24.0072C21.888 24.2562 21.7554 24.4888 21.5415 24.6147L15.911 27.9304H15.9116Z"
                fill="url(#paint1_linear_11049_510847)"/>
      </g>
      <defs>
          <linearGradient id="paint0_linear_11049_510847" x1="1.42681" y1="19.7002" x2="18.9678" y2="19.7002"
                          gradientUnits="userSpaceOnUse">
              <stop stop-color="#DF6B4A"/>
              <stop offset="1" stop-color="#E99B41"/>
          </linearGradient>
          <linearGradient id="paint1_linear_11049_510847" x1="15.7906" y1="23.9265" x2="23.5715" y2="23.9265"
                          gradientUnits="userSpaceOnUse">
              <stop stop-color="#DF6B4A"/>
              <stop offset="1" stop-color="#E99B41"/>
          </linearGradient>
          <clipPath id="clip0_11049_510847">
              <rect width="27" height="30" fill="white" transform="translate(1 4.69983)"/>
          </clipPath>
      </defs>
  </svg>