Skip to content

Commit

Permalink
o/snapstate: rename variable for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewphelpsj committed Jun 24, 2024
1 parent 57c3f47 commit 7e5c074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlord/snapstate/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,10 @@ func componentSetupFromResource(name string, sar store.SnapResourceResult, info
return ComponentSetup{}, fmt.Errorf("inconsistent component type (%q in snap, %q in component)", typ, sar.Type)
}

compName := naming.NewComponentRef(info.SnapName(), name)
cref := naming.NewComponentRef(info.SnapName(), name)

csi := snap.ComponentSideInfo{
Component: compName,
Component: cref,
Revision: snap.R(sar.Revision),
}

Expand Down

0 comments on commit 7e5c074

Please sign in to comment.