Fix typos

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon 2019-08-02 15:30:31 -04:00
parent 610003ab0f
commit 582a24dfed
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ func (v *Volume) Driver() string {
// Scope retrieves the volume's scope. // Scope retrieves the volume's scope.
// Libpod does not implement volume scoping, and this is provided solely for // Libpod does not implement volume scoping, and this is provided solely for
// Docker compatability. It returns only "local". // Docker compatibility. It returns only "local".
func (v *Volume) Scope() string { func (v *Volume) Scope() string {
return "local" return "local"
} }

View File

@ -19,7 +19,7 @@ type InspectVolumeData struct {
// CreatedAt is the date and time the volume was created at. This is not // CreatedAt is the date and time the volume was created at. This is not
// stored for older Libpod volumes; if so, it will be omitted. // stored for older Libpod volumes; if so, it will be omitted.
CreatedAt time.Time `json:"CreatedAt,omitempty"` CreatedAt time.Time `json:"CreatedAt,omitempty"`
// Status is presently unused and provided only for Docker compatability. // Status is presently unused and provided only for Docker compatibility.
// In the future it will be used to return information on the volume's // In the future it will be used to return information on the volume's
// current state. // current state.
Status map[string]string `json:"Status,omitempty"` Status map[string]string `json:"Status,omitempty"`
@ -27,7 +27,7 @@ type InspectVolumeData struct {
// can be passed during volume creation to provide information for third // can be passed during volume creation to provide information for third
// party tools. // party tools.
Labels map[string]string `json:"Labels"` Labels map[string]string `json:"Labels"`
// Scope is unused and provided solely for Docker compatability. It is // Scope is unused and provided solely for Docker compatibility. It is
// unconditionally set to "local". // unconditionally set to "local".
Scope string `json:"Scope"` Scope string `json:"Scope"`
// Options is a set of options that were used when creating the volume. // Options is a set of options that were used when creating the volume.