Skip to content

Commit

Permalink
Reverted json field name changes made in PR 79 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshatdell authored Jan 10, 2025
1 parent 970c59c commit 0093b95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/v11/api_v11_replication.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2022-2023 Dell Inc, or its subsidiaries.
Copyright (c) 2022-2025 Dell Inc, or its subsidiaries.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -93,7 +93,7 @@ type Policy struct {
TargetCert string `json:"target_certificate_id,omitempty"`
JobDelay int `json:"job_delay,omitempty"`
Schedule string `json:"schedule"`
LastJobState JobState `json:"last_JobState,omitempty"`
LastJobState JobState `json:"last_job_state,omitempty"`
}

type ResolvePolicyReq struct {
Expand All @@ -116,11 +116,11 @@ type TargetPolicy struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
SourceClusterGUID string `json:"source_cluster_guid,omitempty"`
LastJobState JobState `json:"last_JobState,omitempty"`
LastJobState JobState `json:"last_job_state,omitempty"`
TargetPath string `json:"target_path,omitempty"`
SourceHost string `json:"source_host,omitempty"`
LastSourceCoordinatorIP string `json:"last_source_coordinator_ip,omitempty"`
FailoverFailbackState FailoverFailbackState `json:"failoverfailbackstate,omitempty"`
FailoverFailbackState FailoverFailbackState `json:"failover_failback_state,omitempty"`
}

type TargetPolicies struct {
Expand Down

0 comments on commit 0093b95

Please sign in to comment.