Fix lint issues
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
37f118d73a
commit
d69ad9b5a3
9 changed files with 24 additions and 27 deletions
|
@ -407,11 +407,7 @@ func (s *Server) setPodSandboxMountLabel(id, mountLabel string) error {
|
|||
return err
|
||||
}
|
||||
storageMetadata.SetMountLabel(mountLabel)
|
||||
err = s.storage.SetContainerMetadata(id, storageMetadata)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return s.storage.SetContainerMetadata(id, storageMetadata)
|
||||
}
|
||||
|
||||
func getSELinuxLabels(selinuxOptions *pb.SELinuxOption) (processLabel string, mountLabel string, err error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue