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

v2 nginx adapter #19

Merged
merged 10 commits into from
Jan 2, 2021
Merged

v2 nginx adapter #19

merged 10 commits into from
Jan 2, 2021

Conversation

kumarabd
Copy link
Contributor

@kumarabd kumarabd commented Dec 21, 2020

Signed-off-by: kumarabd [email protected]

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: kumarabd <[email protected]>
Signed-off-by: kumarabd <[email protected]>
@kumarabd kumarabd requested a review from leecalcote December 21, 2020 11:01
st := status.Installing

if del {
st = status.Removing
}

for _, template := range templates {
contents, err := utils.ReadRemoteFile(string(template))
contents, err := readFileSource(string(template))
Copy link
Contributor

Choose a reason for hiding this comment

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

@kumarabd I think we have this function in meshkit now 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh that's great then, kill change them

}

fmt.Println("Done")
return path.Join(configRootPath, "nginx-meshctl"), nil
return nil
}

func downloadBinary(platform string) (*http.Response, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

downloadBinary was actually failing after a few days I created #17 . I believe the reason for that is that the urls have changed now. Can we instead place the binaries manually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Utkarsh-pro the binary is already in place. this is just for in-case scenarios.

Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

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

Is this PR antiquated? Ready for deletion?

internal/config/error.go Show resolved Hide resolved
nginx/nginx.go Show resolved Hide resolved
nginx/error.go Outdated Show resolved Hide resolved
@leecalcote leecalcote merged commit d6dc0a4 into master Jan 2, 2021
@leecalcote leecalcote deleted the kumarabd/feature/init branch January 2, 2021 18:02
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.

3 participants