Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Change pull-secret check to use API #100

Closed
gbraad opened this issue Jul 12, 2021 · 0 comments · Fixed by #102
Closed

Change pull-secret check to use API #100

gbraad opened this issue Jul 12, 2021 · 0 comments · Fixed by #102

Comments

@gbraad
Copy link
Contributor

gbraad commented Jul 12, 2021

GET /api/pull-secret

This API is purely HTTP status code driven: https://github.com/code-ready/crc/blob/02a30bf8bbf239703d81a4c93fc64e4162e236e7/pkg/crc/api/api_http.go#L118-L122

  • 200 is OK
  • 404 means undefined

Ref: crc-org/crc#2561

gbraad added a commit to gbraad-redhat/crc-tray-windows that referenced this issue Jul 13, 2021
gbraad added a commit to gbraad-redhat/crc-tray-windows that referenced this issue Jul 16, 2021
gbraad added a commit to gbraad-redhat/crc-tray-windows that referenced this issue Jul 20, 2021
@gbraad gbraad linked a pull request Jul 20, 2021 that will close this issue
anjannath pushed a commit that referenced this issue Jul 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant