Skip to content

Commit

Permalink
Merge pull request #100 from cgwalters/get-history-empty
Browse files Browse the repository at this point in the history
Add missing `CopyGetters`
  • Loading branch information
saschagrunert authored Mar 21, 2022
2 parents e575043 + 4e78347 commit 8dd5d09
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions src/image/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::{
from_file, from_reader, to_file, to_writer,
};
use derive_builder::Builder;
use getset::{Getters, MutGetters, Setters};
use getset::{CopyGetters, Getters, MutGetters, Setters};
use serde::{ser::SerializeMap, Deserialize, Deserializer, Serialize, Serializer};
#[cfg(test)]
use std::collections::BTreeMap;
Expand Down Expand Up @@ -370,7 +370,17 @@ impl Default for RootFs {
}

#[derive(
Builder, Clone, Debug, Default, Deserialize, Eq, Getters, Setters, PartialEq, Serialize,
Builder,
Clone,
Debug,
Default,
Deserialize,
Eq,
CopyGetters,
Getters,
Setters,
PartialEq,
Serialize,
)]
#[builder(
default,
Expand Down
14 changes: 12 additions & 2 deletions src/runtime/windows.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
use crate::error::OciSpecError;
use derive_builder::Builder;
use getset::{Getters, Setters};
use getset::{CopyGetters, Getters, Setters};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

#[derive(
Builder, Clone, Debug, Default, Deserialize, Eq, Getters, Setters, PartialEq, Serialize,
Builder,
Clone,
Debug,
Default,
Deserialize,
Eq,
CopyGetters,
Getters,
Setters,
PartialEq,
Serialize,
)]
#[serde(rename_all = "camelCase")]
#[builder(
Expand Down

0 comments on commit 8dd5d09

Please sign in to comment.