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

implement plan_result and deploy_result #594

Merged
merged 5 commits into from
Sep 15, 2023
Merged

Conversation

jeffkala
Copy link
Contributor

No description provided.

@jeffkala jeffkala requested a review from joewesch September 15, 2023 17:09
)
deploy_result_id = utilities_forms.DynamicModelMultipleChoiceField(
queryset=JobResult.objects.all(),
query_params={"nautobot_golden_config_config_plan_null": True},
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
query_params={"nautobot_golden_config_config_plan_null": True},
query_params={"nautobot_golden_config_config_plan_deploy_result_null": True},

I think this needs to be the related name? Double check me on this.

@@ -108,7 +108,7 @@
}

var jobClass = "plugins/nautobot_golden_config.jobs/GenerateConfigPlans";
var redirectUrlTemplate = "/plugins/golden-config/config-plan/?job_result_id={jobData.result.id}";
var redirectUrlTemplate = "/plugins/golden-config/config-plan/?play_result_id={jobData.result.id}";
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
var redirectUrlTemplate = "/plugins/golden-config/config-plan/?play_result_id={jobData.result.id}";
var redirectUrlTemplate = "/plugins/golden-config/config-plan/?plan_result_id={jobData.result.id}";

@jeffkala jeffkala merged commit d03ffd9 into wg-kc-update Sep 15, 2023
@jeffkala jeffkala deleted the jkala-deploy-result branch September 15, 2023 20:25
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