File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1383,8 +1383,7 @@ func (m *ResourcePlacement) GetCondition(conditionType string) *metav1.Condition
13831383
13841384// GetPlacementSpec returns the placement spec.
13851385func (m * ResourcePlacement ) GetPlacementSpec () * PlacementSpec {
1386- spec := m .Spec
1387- return & spec
1386+ return & m .Spec
13881387}
13891388
13901389// SetPlacementSpec sets the placement spec.
@@ -1396,8 +1395,7 @@ func (m *ResourcePlacement) SetPlacementSpec(spec *PlacementSpec) {
13961395
13971396// GetPlacementStatus returns the placement status.
13981397func (m * ResourcePlacement ) GetPlacementStatus () * PlacementStatus {
1399- status := m .Status
1400- return & status
1398+ return & m .Status
14011399}
14021400
14031401// SetPlacementStatus sets the placement status.
You can’t perform that action at this time.
0 commit comments