Skip to content
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

use go:embed for shell scripts used in export and upload Jobs #61

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

ushitora-anqou
Copy link
Contributor

No description provided.

@ushitora-anqou ushitora-anqou marked this pull request as ready for review November 7, 2024 07:38
Comment on lines 56 to 58
embedJobExportSh string
//go:embed script/job-upload.sh
embedJobUploadSh string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
embedJobExportSh string
//go:embed script/job-upload.sh
embedJobUploadSh string
embedJobExportScript string
//go:embed script/job-upload.sh
embedJobUploadScript string

Just minor nits. Since these strings are not shells(Sh) but scripts, ..Script is better.

@ushitora-anqou
Copy link
Contributor Author

@satoru-takeuchi satoru-takeuchi merged commit 1793836 into main Nov 8, 2024
3 checks passed
@satoru-takeuchi satoru-takeuchi deleted the embed-job-shell-script branch November 8, 2024 04:39
@ushitora-anqou
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants