mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
many: assorted typos (#13510)
* snap-confine: fix typo in comment Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com> * daemon: fix typo in comment Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com> * i/apparmor: fix typo: panicking Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com> * o/snapstate: fix typo: removable Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com> --------- Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This commit is contained in:
committed by
GitHub
parent
70846810d2
commit
27149948e9
@@ -771,7 +771,7 @@ func (b *Backend) addContent(securityTag string, snapInfo *snap.Info, cmdName st
|
||||
// initial seed change and continue on. This code will be
|
||||
// removed/adapted before it is merged to the main branch,
|
||||
// it is only meant to exist on the security release branch.
|
||||
msg := fmt.Sprintf("neither snapd nor core snap available while preparing apparmor profile for devmode snap %s, panicing to restart snapd to continue seeding", snapInfo.InstanceName())
|
||||
msg := fmt.Sprintf("neither snapd nor core snap available while preparing apparmor profile for devmode snap %s, panicking to restart snapd to continue seeding", snapInfo.InstanceName())
|
||||
panic(msg)
|
||||
}
|
||||
|
||||
|
||||
@@ -292,7 +292,7 @@ func (s *backendSuite) TestInstallingDevmodeSnapNeitherSnapdNorCoreSnapInstalled
|
||||
devMode := interfaces.ConfinementOptions{DevMode: true}
|
||||
c.Assert(func() {
|
||||
s.InstallSnap(c, devMode, "", ifacetest.SambaYamlV1, 1)
|
||||
}, PanicMatches, "neither snapd nor core snap available while preparing apparmor profile for devmode snap samba, panicing to restart snapd to continue seeding")
|
||||
}, PanicMatches, "neither snapd nor core snap available while preparing apparmor profile for devmode snap samba, panicking to restart snapd to continue seeding")
|
||||
}
|
||||
|
||||
func (s *backendSuite) TestInstallingSnapWritesAndLoadsProfiles(c *C) {
|
||||
|
||||
Reference in New Issue
Block a user