Skip to content

Commit

Permalink
fix: revert gpt partition not found
Browse files Browse the repository at this point in the history
This reverts commit d7d4cdd.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
  • Loading branch information
Unix4ever committed Sep 23, 2021
1 parent d7d4cdd commit 667bf53
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions blockdevice/blockdevice_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,7 @@ func Open(devname string, setters ...Option) (bd *BlockDevice, err error) {
return nil, err
}
bd.g = g

return bd, nil
}

err = ErrMissingPartitionTable

return nil, err
}

return bd, nil
Expand Down

0 comments on commit 667bf53

Please sign in to comment.