-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct Start Workload #416
base: v3
Are you sure you want to change the base?
Conversation
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a few minor things
Signed-off-by: Jordan Rash <[email protected]>
@@ -24,24 +28,57 @@ type ArtifactReference struct { | |||
Size int | |||
} | |||
|
|||
func extractTag(location *url.URL) string { | |||
return location.Fragment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happened to the code that checks for a :, splits, and returns the tag and if none exists it returns "latest"?
// TODO: Implement | ||
return nil, nil | ||
filePath, tag := "", "" | ||
sPath := strings.SplitN(location.Path, ":", 2) // splits on first : only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this call extract tag?
} | ||
} | ||
|
||
// waits 5 seconds for workload to shutdown gracefully |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It pains me to see a timed retry loop appear here. We should eventually figure out a better way:tm:
No description provided.